| 1 | name: go-sarif release |
| 2 | on: |
| 3 | push: |
| 4 | tags: |
| 5 | - "v*.*.*" |
| 6 | |
| 7 | jobs: |
| 8 | build: |
| 9 | name: releasing go-sarif |
| 10 | runs-on: ubuntu-latest |
| 11 | |
| 12 | steps: |
| 13 | - name: Checkout |
| 14 | uses: actions/checkout@v2 |
| 15 | with: |
| 16 | fetch-depth: 0 |
| 17 | |
| 18 | - name: Release |
| 19 | uses: goreleaser/goreleaser-action@v2 |
| 20 | with: |
| 21 | version: latest |
| 22 | args: release --clean |
| 23 | env: |
| 24 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |