.github/workflows/release.yml
raw| 1 | --- |
| 2 | name: release |
| 3 | |
| 4 | on: |
| 5 | push: |
| 6 | branches: [master] |
| 7 | tags: |
| 8 | - '**' |
| 9 | |
| 10 | jobs: |
| 11 | build: |
| 12 | runs-on: ubuntu-latest |
| 13 | if: startsWith(github.ref, 'refs/tags/v') && github.repository == 'linux-nvme/libnvme' |
| 14 | permissions: |
| 15 | contents: write |
| 16 | steps: |
| 17 | - uses: actions/checkout@v5 |
| 18 | - uses: ncipollo/release-action@v1 |
| 19 | with: |
| 20 | token: ${{ secrets.GITHUB_TOKEN }} |