From b74136584aacec1505df893a02c5c9bb06c1d027 Mon Sep 17 00:00:00 2001 From: Francesco <100066266+cranci1@users.noreply.github.com> Date: Tue, 22 Apr 2025 17:52:37 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8045d57..334ac49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,39 +1,29 @@ 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: 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