Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Jan 3, 2024
1 parent e43baab commit d04af50
Showing 1 changed file with 1 addition and 78 deletions.
79 changes: 1 addition & 78 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,6 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Run compile script
run: |
cd ./src/xpwn
./compile.sh all
mv bin/ ../..
cd ../..
- name: Zip files
run: zip -r xpwn_linux.zip bin/

- name: Update latest release
uses: pyTooling/Actions/releaser@main
with:
tag: latest
token: ${{ secrets.GITHUB_TOKEN }}
files: xpwn_linux.zip

xpwn-win:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3

- uses: msys2/setup-msys2@v2
with:
msystem: MSYS
update: true

- name: Run compile script
run: |
cd ./src/xpwn
Expand All @@ -45,52 +15,5 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: xpwn_win
name: xpwn_linux
path: bin/

idevicererestore-linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3

- name: Run compile script
run: |
cd ./src/idevicererestore
./compile.sh patch
mv idevicerestore/bin ../..
cd ../..
- name: Zip files
run: zip -r idevicererestore_linux.zip bin/

- name: Update latest release
uses: pyTooling/Actions/releaser@main
with:
tag: latest
token: ${{ secrets.GITHUB_TOKEN }}
files: idevicererestore_linux.zip

# idevicererestore-win:
# runs-on: windows-latest
# defaults:
# run:
# shell: msys2 {0}
# steps:
# - uses: actions/checkout@v3
#
# - uses: msys2/setup-msys2@v2
# with:
# msystem: MINGW64
# update: true
#
# - name: Run compile script
# run: |
# cd ./src/idevicererestore
# ./compile.sh patch
# mv idevicerestore/bin ../..
# cd ../..
#
# - uses: actions/upload-artifact@v3
# with:
# name: idevicererestore_win
# path: bin/

0 comments on commit d04af50

Please sign in to comment.