Repository navigation
v1.0.8 #2
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: Package GNOME extension | |
| # Builds the extension zip and attaches it to the GitHub Release whenever a release is published. | |
| on: | |
| release: | |
| types: [published] | |
| permissions: | |
| contents: write | |
| env: | |
| UUID: gotify-notifications@dodog.github.com | |
| jobs: | |
| package: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Stage extension files | |
| run: | | |
| mkdir -p build | |
| cp -r gotify-notifications@dodog.github.com/. build/ | |
| - name: Package extension | |
| run: | | |
| cd build | |
| zip -r "../${UUID}.zip" . -x '.*' | |
| - name: Attach zip to release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: ${{ env.UUID }}.zip |