Build #19
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 | |
| on: | |
| push: | |
| branches: [ main ] | |
| tags: [ '[0-9]+.[0-9]+' ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: xcodebuild -project Cocoa\ CapsBeeper.xcodeproj | |
| - name: Use tar to keep executable permissions | |
| run: cd build/Default && tar czvf CCB.app.tgz *.app | |
| - name: Upload .app | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: CCB.app.tgz | |
| path: build/Default/CCB.app.tgz | |
| - name: Create GitHub Release | |
| if: startsWith(github.ref, 'refs/tags/') | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: build/Default/CCB.app.tgz |