Updated workflows for avoid . directory.

This commit is contained in:
Hintay 2022-02-21 16:19:55 +08:00
parent 50d6d39a88
commit 84f388dae6
No known key found for this signature in database
GPG key ID: 120FC7FF121F2F2D

View file

@ -65,7 +65,7 @@ jobs:
if: github.event_name == 'release'
run: |
cp README*.md frontend/dist
tar -C ./frontend/dist -zcvf frontend-dist.tar.gz .
find frontend/dist -printf '%P\n' | tar -C frontend/dist --no-recursion -zcvf frontend-dist.tar.gz -T -
- name: Publish
uses: softprops/action-gh-release@v1
@ -128,7 +128,7 @@ jobs:
if: github.event_name == 'release'
run: |
cp README*.md ./dist
tar -C ./dist -zcvf ${{ env.DIST }}.tar.gz .
find dist -printf '%P\n' | tar -C dist --no-recursion -zcvf ${{ env.DIST }}.tar.gz -T -
- name: Publish
uses: softprops/action-gh-release@v1