Skip to content

Commit 69fc6d5

Browse files
committed
Fix upload / download artifacts action
1 parent f7eafd6 commit 69fc6d5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/create-release.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
- name: Archive artifacts
3030
uses: actions/upload-artifact@v3
3131
with:
32+
name: jar-files
3233
path: "target/*.jar"
34+
retention-days: 5
3335
gh-release:
3436
name: Create a GitHub Release
3537
if: startsWith(github.ref, 'refs/tags')
@@ -41,10 +43,10 @@ jobs:
4143
- name: Download artifacts to append to release
4244
uses: actions/download-artifact@v3
4345
with:
44-
path: "target/*.jar"
46+
name: jar-files
4547
- name: Release
4648
uses: softprops/action-gh-release@v1
4749
with:
4850
generate_release_notes: true
49-
draft: true
50-
files: target/*.jar
51+
draft: false
52+
files: "*.jar"

0 commit comments

Comments
 (0)