From 6a0fe3f200ddad16559bed3ea6f26bce60934442 Mon Sep 17 00:00:00 2001 From: Sven Meyer Date: Tue, 3 Dec 2024 13:02:31 +0100 Subject: [PATCH] Split deployment and release into separate jobs --- .github/workflows/deploy_and_release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_and_release.yml b/.github/workflows/deploy_and_release.yml index 4c3f0fc09..cc5e0835f 100644 --- a/.github/workflows/deploy_and_release.yml +++ b/.github/workflows/deploy_and_release.yml @@ -6,8 +6,6 @@ jobs: deployment: runs-on: ubuntu-latest environment: Deploy - name: CryptoAnalysis Deployment - steps: - name: Checkout source code uses: actions/checkout@v4 @@ -33,6 +31,13 @@ jobs: OSSRH_USERNAME: ${{ secrets.SONATYPE_USER }} OSSRH_PASSWORD: ${{ secrets.SONATYPE_PW }} + release: + runs-on: ubuntu-latest + needs: deployment + steps: + - name: Checkout source code + uses: actions/checkout@v4 + - name: Fetch all tags run: git fetch --tags