chore: release v0.1.5 #6
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: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| id-token: write | |
| steps: | |
| - name: Setup JS | |
| uses: sxzz/workflows/setup-js@v1 | |
| with: | |
| fetch-all: true | |
| - name: Build extensions | |
| run: | | |
| pnpm "/^zip:?/" | |
| - name: Generate GitHub Release with Changelog | |
| run: pnpx changelogithub | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload assets to release | |
| run: gh release upload ${{ github.ref_name }} ./.output/*-chrome.zip ./.output/*-firefox.zip | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |