Skip to content

Commit 034f183

Browse files
committed
Attach jar file at Release
1 parent aa69eef commit 034f183

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Attach jar file at Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
upload-jar:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code to the tag release branch
16+
uses: actions/checkout@v4
17+
18+
- name: Upload JAR to release
19+
uses: actions/upload-release-asset@v1
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
with:
23+
upload_url: ${{ github.event.release.upload_url }}
24+
asset_path: ./dist/singular-user-storage-provider-with-dependencies.jar
25+
asset_name: singular-user-storage-provider-with-dependencies.jar
26+
asset_content_type: application/java-archive

0 commit comments

Comments
 (0)