diff options
| author | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-21 00:10:34 +0100 |
|---|---|---|
| committer | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-21 00:10:34 +0100 |
| commit | b9ef243c42635470d462e6277f3ec37c15b788de (patch) | |
| tree | 9914c7eaaba432385dbc8d1842ab1b1980322128 /mut/dmenu-mac/.github/workflows | |
| parent | fcad68da0a7947420ebd78b0581b9657d4e5ec51 (diff) | |
| parent | 8cdb3d2150fb591894d85d5ca5243f9ef6156099 (diff) | |
Merge commit '8cdb3d2150fb591894d85d5ca5243f9ef6156099' as 'mut/dmenu-mac'
Diffstat (limited to 'mut/dmenu-mac/.github/workflows')
| -rw-r--r-- | mut/dmenu-mac/.github/workflows/main.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/mut/dmenu-mac/.github/workflows/main.yml b/mut/dmenu-mac/.github/workflows/main.yml new file mode 100644 index 0000000..2164189 --- /dev/null +++ b/mut/dmenu-mac/.github/workflows/main.yml @@ -0,0 +1,40 @@ +name: Build + +on: [push] + +jobs: + build: + runs-on: macos-12 + + steps: + - uses: actions/checkout@v1 + + - name: Lint + run: swiftlint --strict + + - name: Build + run: xcodebuild + -scheme dmenu-mac + -archivePath dmenu-mac.xcarchive archive + + - name: Package + run: xcodebuild + -exportArchive + -archivePath dmenu-mac.xcarchive + -exportOptionsPlist mac-application-archive.plist + -exportPath . + + - name: Compress + run: zip -r dmenu-mac.zip dmenu-mac.app + + - uses: actions/upload-artifact@v1 + with: + name: dmenu-mac.zip + path: dmenu-mac.zip + + - name: Release + if: startsWith(github.ref, 'refs/tags/') + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_USER: "user" + run: hub release edit ${GITHUB_REF//refs\/tags\//} -a dmenu-mac.zip -m '' |
