chore: release v1.0.7 #8
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: | |
| '*' | |
| workflow_dispatch: | |
| jobs: | |
| release_native: | |
| uses: ./.github/workflows/build-release.yml | |
| with: | |
| publish: YES | |
| secrets: inherit | |
| publish: | |
| permissions: | |
| contents: write | |
| pull-requests: read | |
| needs: release_native | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Download bundled files | |
| uses: actions/download-artifact@v4 | |
| with: | |
| path: bin | |
| pattern: bin-* | |
| merge-multiple: true | |
| - run: npm install --omit=optional | |
| - run: npm run build | |
| - name: Publish to NPM | |
| env: | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| run: npm run publish-if-need |