Skip to content

Commit

Permalink
Move release artifact step to last, update secret name
Browse files Browse the repository at this point in the history
  • Loading branch information
fantavlik committed Sep 8, 2023
1 parent cbb2379 commit 70f80fa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
server-id: splunk-artifactory
- name: build
run: mvn -B package --file pom.xml
- name: Deploy to Artifactory
run: mvn --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
# body_path: ${{ github.workflow }}-CHANGELOG.txt
files: ./target/*.jar
draft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy to Artifactory
run: mvn --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}

0 comments on commit 70f80fa

Please sign in to comment.