Updated workflow to change file extension from .zip to .ipa for easier access. (#98)

This commit is contained in:
bshar 2025-04-22 17:03:15 +03:00 committed by GitHub
parent 745e295e0d
commit 882afcdc1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 21 additions and 12 deletions

View file

@ -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
View file

@ -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

Binary file not shown.