mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-11 17:45:37 +00:00
Update build.yml
This commit is contained in:
parent
9c43dc30d2
commit
b74136584a
1 changed files with 9 additions and 19 deletions
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
|
|
@ -1,15 +1,12 @@
|
|||
name: Build and Release IPA
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build IPA
|
||||
runs-on: macOS-latest
|
||||
|
||||
steps:
|
||||
- name: Use Node.js 20
|
||||
uses: actions/setup-node@v4
|
||||
|
|
@ -18,22 +15,15 @@ jobs:
|
|||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: true
|
||||
|
||||
- name: Run ipabuild.sh
|
||||
run: |
|
||||
chmod +x ipabuild.sh
|
||||
./ipabuild.sh
|
||||
|
||||
- name: Commit and push latest IPA
|
||||
run: |
|
||||
git config user.name "cranci1"
|
||||
git config user.email "cranci1@github.com"
|
||||
|
||||
mkdir -p public-build
|
||||
cp -f build/Sulfur.ipa public-build/Sulfur.ipa
|
||||
|
||||
git add -f public-build/Sulfur.ipa
|
||||
git diff --quiet && git diff --staged --quiet || git commit -m "Auto: Update IPA [skip ci]"
|
||||
git push
|
||||
- name: Upload IPA artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Sulfur-IPA
|
||||
path: build/Sulfur.ipa
|
||||
compression-level: 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue