Skip to content

Commit 8771bcd

Browse files
authored
Update gradle-publish.yml
1 parent 83d29df commit 8771bcd

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,15 @@ jobs:
4545
# with:
4646
# files: application/build/libs/products-0.0.1-SNAPSHOT.jar
4747
# env:
48-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49-
- name: Upload artifact
50-
uses: actions/upload-artifact@v3
48+
# # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
# - name: Upload artifact
50+
# uses: actions/upload-artifact@v3
51+
# with:
52+
# name: Upload application jar file
53+
# path: build/libs/products-0.0.1-SNAPSHOT.jar
54+
- name: Release
55+
uses: softprops/action-gh-release@v1
5156
with:
52-
name: Upload application jar file
53-
path: build/libs/products-0.0.1-SNAPSHOT.jar
57+
files: build/libs/products-0.0.1-SNAPSHOT.jar
58+
env:
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)