fix release

This commit is contained in:
liyp 2023-04-30 16:19:11 +08:00
parent 46d9e1720a
commit 5d3d43d54e

View file

@ -22,11 +22,11 @@ jobs:
tar czf yacd.tar.gz ./public tar czf yacd.tar.gz ./public
ls -la ls -la
- uses: actions/upload-artifact@v3 #- uses: actions/upload-artifact@v3
with: #with:
path: ./yacd.tar.gz #path: ./yacd.tar.gz
name: yacd-meta #name: yacd-meta
if-no-files-found: warn #if-no-files-found: warn
- run: ls -la - run: ls -la
#- uses: actions/release-action@v1 #- uses: actions/release-action@v1
#with: #with:
@ -34,3 +34,9 @@ jobs:
#tag: "v*" #tag: "v*"
#artifacts: "./yacd.tar.gz" #artifacts: "./yacd.tar.gz"
#token: ${{ secrets.RELEASE_KEY }} #token: ${{ secrets.RELEASE_KEY }}
- name: Release
uses: https://github.com/softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: yacd.tar.gz