mirror of
https://github.com/cranci1/Sora.git
synced 2026-01-11 20:10:24 +00:00
Updated workflow to change file extension from .zip to .ipa for easier access. (#98)
This commit is contained in:
parent
745e295e0d
commit
882afcdc1e
3 changed files with 21 additions and 12 deletions
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
|
|
@ -1,29 +1,39 @@
|
|||
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
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
with:
|
||||
persist-credentials: true
|
||||
|
||||
- name: Run ipabuild.sh
|
||||
run: |
|
||||
chmod +x ipabuild.sh
|
||||
./ipabuild.sh
|
||||
|
||||
- name: Upload IPA artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Sulfur-IPA
|
||||
path: build/Sulfur.ipa
|
||||
compression-level: 0
|
||||
|
||||
- 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
|
||||
|
|
|
|||
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -63,10 +63,9 @@ DerivedData/
|
|||
*.hmap
|
||||
|
||||
## App packaging
|
||||
*.ipa
|
||||
*.dSYM.zip
|
||||
*.dSYM
|
||||
|
||||
public-build
|
||||
## Playgrounds
|
||||
timeline.xctimeline
|
||||
playground.xcworkspace
|
||||
|
|
@ -131,4 +130,4 @@ iOSInjectionProject/
|
|||
/*.gcno
|
||||
**/xcshareddata/WorkspaceSettings.xcsettings
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/macos,swift,xcode
|
||||
# End of https://www.toptal.com/developers/gitignore/api/macos,swift,xcode
|
||||
|
|
|
|||
BIN
public-build/Sulfur.ipa
Normal file
BIN
public-build/Sulfur.ipa
Normal file
Binary file not shown.
Loading…
Reference in a new issue