Skip to content

Commit 0767000

Browse files
committed
ci: support jar file release
1 parent 6cb42ed commit 0767000

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/release.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,26 @@ jobs:
126126
steps:
127127
- uses: actions/checkout@v4
128128

129+
- name: Download Boot Jar
130+
uses: actions/download-artifact@v4
131+
with:
132+
name: boot
133+
path: boot/build/libs
134+
135+
- name: Calculate SHA-256
136+
id: calculate_sha256
137+
run: |
138+
sha256sum boot/build/libs/boot-${{ needs.info.outputs.version-without-v }}.jar > boot/build/libs/boot-${{ needs.info.outputs.version-without-v }}.sha256
139+
129140
- name: Release
130141
uses: ncipollo/release-action@v1
131142
with:
132143
name: ${{ needs.info.outputs.version }}
133144
tag: ${{ needs.info.outputs.version }}
134145
body: ${{ needs.info.outputs.changelog }}
146+
files: |
147+
boot/build/libs/boot-${{ needs.info.outputs.version-without-v }}.jar
148+
boot/build/libs/boot-${{ needs.info.outputs.version-without-v }}.sha256
135149
136150
deploy-northflank:
137151
name: Deploy to Northflank

0 commit comments

Comments
 (0)