Skip to content

Commit c16ea53

Browse files
committed
feat: add digest for actions
1 parent fd342e6 commit c16ea53

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,15 @@ jobs:
183183
run: |
184184
cp README*.md ./dist
185185
find dist -printf '%P\n' | tar -C dist --no-recursion -zcvf ${{ env.DIST }}.tar.gz -T -
186+
openssl dgst -sha512 ${{ env.DIST }}.tar.gz | sed 's/([^)]*)//g' >> ${{ env.DIST }}.tar.gz.digest
186187
187188
- name: Publish
188189
uses: softprops/action-gh-release@v1
189190
if: github.event_name == 'release'
190191
with:
191-
files: ${{ env.DIST }}.tar.gz
192+
files: |
193+
${{ env.DIST }}.tar.gz
194+
${{ env.DIST }}.tar.gz.digest
192195
193196
docker-build:
194197
runs-on: ubuntu-latest
80 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)