diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b5225e3..ebc8729 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,12 +5,17 @@ on: - main jobs: + test: + permissions: + checks: write + uses: ./.github/workflows/main.yml + release: runs-on: ubuntu-latest + needs: [ test ] steps: - - name: Checkout - uses: actions/checkout@master - - name: Release - uses: codfish/semantic-release-action@v3.0.0 + - uses: actions/checkout@v4 + - uses: go-semantic-release/action@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + if: success() \ No newline at end of file