fix action
This commit is contained in:
parent
e1e898a399
commit
df6c702f97
1 changed files with 1 additions and 19 deletions
20
.github/workflows/build.yaml
vendored
20
.github/workflows/build.yaml
vendored
|
@ -19,29 +19,11 @@ jobs:
|
||||||
pnpm build
|
pnpm build
|
||||||
pwd
|
pwd
|
||||||
tar czf yacd.tar.gz ./public
|
tar czf yacd.tar.gz ./public
|
||||||
# ls -la
|
|
||||||
|
|
||||||
#- uses: actions/upload-artifact@v3
|
|
||||||
#with:
|
|
||||||
#path: ./yacd.tar.gz
|
|
||||||
#name: yacd-meta
|
|
||||||
#if-no-files-found: warn
|
|
||||||
- run: ls -la
|
- run: ls -la
|
||||||
#- uses: actions/release-action@v1
|
|
||||||
#with:
|
|
||||||
#allowUpdates: true
|
|
||||||
#tag: "v*"
|
|
||||||
#artifacts: "./yacd.tar.gz"
|
|
||||||
#token: ${{ secrets.RELEASE_KEY }}
|
|
||||||
# - name: Release
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: https://github.com/softprops/action-gh-release@v1
|
uses: https://github.com/softprops/action-gh-release@v1
|
||||||
if: startsWith(github.ref, 'refs/heads/')
|
if: startsWith(github.ref, 'refs/heads/')
|
||||||
with:
|
with:
|
||||||
files: yacd.tar.gz
|
files: yacd.tar.gz
|
||||||
|
|
||||||
#uses: https://github.com/softprops/action-gh-release@v1
|
|
||||||
#if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
#with:
|
|
||||||
# files: yacd.tar.gz
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue