Skip to content

Fix github action breaking for no reason #479

Fix github action breaking for no reason

Fix github action breaking for no reason #479

Workflow file for this run

name: Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Select correct Xcode
uses: mobiledevops/xcode-select-version-action@v1
with:
xcode-select-version: 15.2
- name: Install dependencies (packages)
run: |
brew install make gnu-sed ldid-procursus fakeroot
- name: Install dependecies
run: |
curl -LO https://static.palera.in/artifacts/loader/universal_lite/palera1nLoader.ipa
curl -LO https://static.palera.in/binpack.tar
install -m644 binpack.tar palera1nLoader.ipa src
- name: Compile
run: gmake -j$(sysctl -n hw.ncpu)
- name: Prepare for upload
run: |
mkdir dist
cp src/ramdisk.dmg dist/ramdisk.dmg
cp src/binpack.dmg dist/binpack.dmg
- name: Upload artifact
uses: wangyucode/[email protected]
with:
host: ${{ secrets.NICKCHAN_FTP_HOST }}
port: ${{ secrets.NICKCHAN_FTP_PORT }}
username: palera1n
password: ${{ secrets.NICKCHAN_FTP_PASS }}
forceUpload: true
dryRun: false
localDir: 'dist/'
remoteDir: '/palera1n/c-rewrite/deps/'