Skip to content

Commit

Permalink
CI: Minor fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
kernc committed Sep 30, 2022
1 parent 525350c commit 58bef34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
name: Windows installer
path: dist/*.exe
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
with:
files: dist/*.exe

Expand All @@ -157,13 +157,13 @@ jobs:
- run: brew update && brew install tree && cd dist && tree -h *.app
- run: cd dist && du -ah *.app | sort -h
- run: cp dist/*/*/Info.plist . && plutil -convert xml1 Info.plist && cat Info.plist
- run: "$(find dist -name '*.run')" --help # smoke test
- run: dist/Efck\ Chat\ Keyboard.app/Contents/MacOS/efck-chat-keyboard.run --help # smoke test
- run: brew install create-dmg && installer/make-macos-dmg.sh
- uses: actions/upload-artifact@v3
with:
name: macOS package
path: dist/*.dmg
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
with:
files: dist/*.dmg

0 comments on commit 58bef34

Please sign in to comment.