Fix: invalid workflow file

This commit is contained in:
xjasonlyu
2021-07-16 17:07:50 +08:00
parent 5e90e34f93
commit c2ad0930b0
+11 -11
View File
@@ -30,17 +30,17 @@ jobs:
run: make -j releases
- name: Upload Releases (nightly)
uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: build/*
draft: false
prerelease: true
name: Nightly Build
tag_name: nightly
body: Automatically Released by Actions.
uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: build/*
draft: false
prerelease: true
name: Nightly Build
tag_name: nightly
body: Automatically Released by Actions.
- name: Upload Releases
uses: softprops/action-gh-release@v1