Skip to content

Update restore_is_current_device #47

Update restore_is_current_device

Update restore_is_current_device #47

Workflow file for this run

name: Compile xpwn and idevicererestore
on: [push]
jobs:
xpwn-linux:
runs-on: ubuntu-22.04
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
./compile.sh all
mv bin/ ../..
cd ../..
- uses: actions/upload-artifact@v3
with:
name: xpwn_win
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/