From 1383617e08eb105b7f34424b70b84b2181d031ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20D=C3=B6ll?= Date: Sat, 10 Feb 2024 17:59:06 +0000 Subject: [PATCH] chore: semantic release --- .github/workflows/release.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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