Skip to content

Commit

Permalink
Use new release action
Browse files Browse the repository at this point in the history
  • Loading branch information
tschuchortdev committed Aug 9, 2024
1 parent 28b64a0 commit e98134e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')) &&
(github.event_name == 'push' || github.event_name == 'create') &&
github.repository == 'tschuchortdev/hkd4s'
concurrency:
group: publishing
cancel-in-progress: true
env:
SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
Expand Down Expand Up @@ -86,12 +89,11 @@ jobs:
echo EOF
} >> "$GITHUB_ENV"
- name: Make release on Github
uses: marvinpinto/action-automatic-releases@latest
uses: softprops/action-gh-release@v2
if: ${{ env.IS_SNAPSHOT_VERSION == 'false' }}
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: v${{ env.VERSION_NAME }}
prerelease: false
title: ${{ env.VERSION_NAME }}
name: ${{ env.VERSION_NAME }}
tag_name: v${{ env.VERSION_NAME }}
files: |
${{ env.ARTIFACT_PATHS }}
fail_on_unmatched_files: true

0 comments on commit e98134e

Please sign in to comment.