Skip to content

Commit 1283ca1

Browse files
authored
Add build results download
1 parent 45ad8d5 commit 1283ca1

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/gradle.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,22 @@ jobs:
2121
with:
2222
name: Package
2323
path: build/libs/*.jar
24-
24+
release:
25+
runs-on: ubuntu-latest
26+
needs: build
27+
steps:
28+
- name: Download Build Results
29+
uses: actions/download-artifact@v2
30+
with:
31+
path: buildfiles
32+
2533
- name: Create Release
2634
uses: actions/create-release@v1
2735
env:
2836
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2937
with:
30-
tag_name: ${{ github.ref }}
31-
release_name: Release ${{ github.ref }}
38+
tag_name: ${{ github.sha }}
39+
release_name: Release ${{ github.sha }}
3240
draft: false
3341
prerelease: false
3442

0 commit comments

Comments
 (0)