skipapp-hello #11827
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: skipapp-hello | |
| on: | |
| push: | |
| branches: [ main ] | |
| tags: "[0-9]+.[0-9]+.[0-9]+" | |
| schedule: | |
| - cron: '30 8 * * *' | |
| workflow_dispatch: | |
| pull_request: | |
| permissions: | |
| contents: write | |
| id-token: write | |
| attestations: write | |
| jobs: | |
| check-noskip: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Check building without Skip installed | |
| run: | | |
| SKIP_ZERO=1 xcodebuild -scheme 'HelloSkip App' -configuration Release -sdk 'iphoneos' -destination 'generic/platform=iOS' -skipPackagePluginValidation archive CODE_SIGNING_ALLOWED=NO | |
| #SKIP_ZERO=1 swift build | |
| #SKIP_ZERO=1 xcodebuild -scheme 'HelloSkip App' | |
| verify-app: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Cache Homebrew packages | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/Library/Caches/Homebrew | |
| key: homebrew-packages | |
| - uses: actions/checkout@v6 | |
| with: | |
| path: skipapp-hello-repo | |
| - uses: skiptools/actions/setup-skip@v1 | |
| - name: Compare hello-skip template with skipapp-hello repo | |
| run: | | |
| ./skipapp-hello-repo/scripts/diff_template.sh skipapp-hello skipapp-hello-repo | |
| call-workflow: | |
| uses: skiptools/actions/.github/workflows/skip-app.yml@v1 | |