fix action

This commit is contained in:
liyp 2023-04-30 16:42:29 +08:00
parent 2113e36bcb
commit e1e898a399

View file

@ -34,6 +34,12 @@ jobs:
#artifacts: "./yacd.tar.gz" #artifacts: "./yacd.tar.gz"
#token: ${{ secrets.RELEASE_KEY }} #token: ${{ secrets.RELEASE_KEY }}
# - name: Release # - name: Release
- name: Release
uses: https://github.com/softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/heads/')
with:
files: yacd.tar.gz
#uses: https://github.com/softprops/action-gh-release@v1 #uses: https://github.com/softprops/action-gh-release@v1
#if: startsWith(github.ref, 'refs/tags/') #if: startsWith(github.ref, 'refs/tags/')
#with: #with: