Skip to content

Commit

Permalink
Create tweak.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Altf4lol authored Jan 3, 2024
1 parent 845dc5e commit b66002c
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/tweak.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Build
on:
push:
tags:
- 'v*'
jobs:
build:
name: Build App
runs-on: macOS-latest
env:
THEOS: theos

steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Dependencies
run: brew install ldid xz
- name: Setup Theos
uses: actions/checkout@master
with:
repository: theos/theos
ref: 8771215f765e774bfefdacc6ddf0e151c2973d49
path: theos
submodules: recursive
- name: Download SDKs
run: |
curl -LO https://github.com/SamHep0803/iOS-13-Patched-SDK/archive/master.zip
TMP=$(mktemp -d)
unzip master.zip -d $TMP
mv $TMP/iOS-13-Patched-SDK-master/*.sdk theos/sdks
rm -r master.zip $TMP
- name: Build Package
id: build_package
run: |
make package FINALPACKAGE=1
echo "::set-output name=package::$(ls -t packages | head -n1)"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./packages/${{ steps.build_package.outputs.package }}
asset_name: ${{ steps.build_package.outputs.package }}
asset_content_type: application/vnd.debian.binary-package

0 comments on commit b66002c

Please sign in to comment.