diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2785e946..c67e6dc5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,3 +55,13 @@ jobs: command: go test -v -coverprofile=profile.cov -covermode=atomic ./... artifact-upload-name: profile.cov artifact-upload-path: profile.cov + + release: + needs: [fmt, sast, unit-tests] + if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Release + uses: softprops/action-gh-release@v1