From cd28ff03d9f182b3c9fc94302f9361501132e66a Mon Sep 17 00:00:00 2001 From: Mason Shi <60805843+Mas0nShi@users.noreply.github.com> Date: Mon, 4 Apr 2022 12:53:23 +0800 Subject: [PATCH] Update manual.yml --- .github/workflows/manual.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index cbd6ab6..dd0a4df 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -53,8 +53,9 @@ jobs: - name: Check Latest Version run: | - output=$(python auto-analysis/check_version.py ) + output=$(python3 auto-analysis/check_version.py) echo '::set-output name=LATEST_VERSION::$output' + create_release: needs: check_version @@ -62,14 +63,16 @@ jobs: if: needs.check_version.outputs.RELEASE_VERSION != needs.check_version.outputs.LATEST_VERSION steps: - - uses: actions/create-release@v1 + - run: echo '${{ needs.check_version.outputs.LATEST_VERSION }}' + + - name: Create Runner Release + uses: actions/create-release@v1 id: createRelease - name: Create Runner Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: - tag_name: ${{ needs.check_version.outputs.LATEST_VERSION }} - release_name: ${{ needs.check_version.outputs.LATEST_VERSION }} + tag_name: '${{ needs.check_version.outputs.LATEST_VERSION }}' + release_name: '${{ needs.check_version.outputs.LATEST_VERSION }}' prerelease: false