Download persistence system revamp #903
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Release | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| pull_request: | |
| branches: | |
| - dev | |
| jobs: | |
| build-ios: | |
| 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 | |
| - 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 | |
| build-mac: | |
| name: Build Mac Catalyst | |
| 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 | |
| - name: Run macbuild.sh | |
| run: | | |
| chmod +x macbuild.sh | |
| ./macbuild.sh | |
| - name: Create DMG | |
| run: | | |
| hdiutil create -volname "Sulfur" -srcfolder build/Sulfur.app -ov -format UDZO build/Sulfur.dmg | |
| - name: Upload Mac artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Sulfur-Mac | |
| path: build/Sulfur.dmg | |
| compression-level: 0 |