Skip to content

Commit e98134e

Browse files
committed
Use new release action
1 parent 28b64a0 commit e98134e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')) &&
4343
(github.event_name == 'push' || github.event_name == 'create') &&
4444
github.repository == 'tschuchortdev/hkd4s'
45+
concurrency:
46+
group: publishing
47+
cancel-in-progress: true
4548
env:
4649
SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
4750
SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
@@ -86,12 +89,11 @@ jobs:
8689
echo EOF
8790
} >> "$GITHUB_ENV"
8891
- name: Make release on Github
89-
uses: marvinpinto/action-automatic-releases@latest
92+
uses: softprops/action-gh-release@v2
9093
if: ${{ env.IS_SNAPSHOT_VERSION == 'false' }}
9194
with:
92-
repo_token: ${{ secrets.GITHUB_TOKEN }}
93-
automatic_release_tag: v${{ env.VERSION_NAME }}
94-
prerelease: false
95-
title: ${{ env.VERSION_NAME }}
95+
name: ${{ env.VERSION_NAME }}
96+
tag_name: v${{ env.VERSION_NAME }}
9697
files: |
9798
${{ env.ARTIFACT_PATHS }}
99+
fail_on_unmatched_files: true

0 commit comments

Comments
 (0)