From c2ad0930b04a540b793710b7de1defc209f0cdc7 Mon Sep 17 00:00:00 2001 From: xjasonlyu Date: Fri, 16 Jul 2021 17:07:50 +0800 Subject: [PATCH] Fix: invalid workflow file --- .github/workflows/release.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 58d4e4e..2dd4d58 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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