Skip to content

Commit

Permalink
Split deployment and release into separate jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
smeyer198 committed Dec 3, 2024
1 parent 4a3956b commit 6a0fe3f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/deploy_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ jobs:
deployment:
runs-on: ubuntu-latest
environment: Deploy
name: CryptoAnalysis Deployment

steps:
- name: Checkout source code
uses: actions/checkout@v4
Expand All @@ -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

Expand Down

0 comments on commit 6a0fe3f

Please sign in to comment.