mirror of
https://github.com/cranci1/Sora.git
synced 2026-05-07 02:30:10 +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
|
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
5
.gitignore
vendored
|
|
@ -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
BIN
public-build/Sulfur.ipa
Normal file
Binary file not shown.
Loading…
Reference in a new issue