Skip to content

Commit 064c73b

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

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,24 @@ 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+
artifacts: boot/build/libs/boot-${{ needs.info.outputs.version-without-v }}.jar,boot/build/libs/boot-${{ needs.info.outputs.version-without-v }}.sha256
135147

136148
deploy-northflank:
137149
name: Deploy to Northflank

0 commit comments

Comments
 (0)