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 name: Build and Release IPA
on: on:
push: push:
branches: branches:
- dev - dev
jobs: jobs:
build: build:
name: Build IPA name: Build IPA
runs-on: macOS-latest runs-on: macOS-latest
steps: steps:
- name: Use Node.js 20 - name: Use Node.js 20
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '20'
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
persist-credentials: true
- name: Run ipabuild.sh - name: Run ipabuild.sh
run: | run: |
chmod +x ipabuild.sh chmod +x ipabuild.sh
./ipabuild.sh ./ipabuild.sh
- name: Upload IPA artifact - name: Commit and push latest IPA
uses: actions/upload-artifact@v4 run: |
with: git config user.name "cranci1"
name: Sulfur-IPA git config user.email "cranci1@github.com"
path: build/Sulfur.ipa
compression-level: 0 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 *.hmap
## App packaging ## App packaging
*.ipa
*.dSYM.zip *.dSYM.zip
*.dSYM *.dSYM
public-build
## Playgrounds ## Playgrounds
timeline.xctimeline timeline.xctimeline
playground.xcworkspace playground.xcworkspace
@ -131,4 +130,4 @@ iOSInjectionProject/
/*.gcno /*.gcno
**/xcshareddata/WorkspaceSettings.xcsettings **/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.