mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
feat: add digest for actions
This commit is contained in:
parent
fd342e6075
commit
c16ea53ed1
2 changed files with 4 additions and 1 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -183,12 +183,15 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cp README*.md ./dist
|
cp README*.md ./dist
|
||||||
find dist -printf '%P\n' | tar -C dist --no-recursion -zcvf ${{ env.DIST }}.tar.gz -T -
|
find dist -printf '%P\n' | tar -C dist --no-recursion -zcvf ${{ env.DIST }}.tar.gz -T -
|
||||||
|
openssl dgst -sha512 ${{ env.DIST }}.tar.gz | sed 's/([^)]*)//g' >> ${{ env.DIST }}.tar.gz.digest
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
with:
|
with:
|
||||||
files: ${{ env.DIST }}.tar.gz
|
files: |
|
||||||
|
${{ env.DIST }}.tar.gz
|
||||||
|
${{ env.DIST }}.tar.gz.digest
|
||||||
|
|
||||||
docker-build:
|
docker-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue