From 29210f27b4c6a8e06fa7944f08f08ec54dc5a2e6 Mon Sep 17 00:00:00 2001 From: Lilyn <68234036+DoormatIka@users.noreply.github.com> Date: Mon, 26 Feb 2024 23:12:44 +0800 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2ef62ab..6554c84 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -60,19 +60,6 @@ jobs: env: GIT_COMMITTER_NAME: github-actions GIT_COMMITTER_EMAIL: github-actions@github.com - - - - name: Create release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.PAT }} - with: - tag_name: ${{ steps.create_tag.outputs.version }} - release_name: Release ${{ steps.create_tag.outputs.version }} - draft: false - prerelease: true - - name: Release Binary shell: bash @@ -94,4 +81,16 @@ jobs: # Move the built binary where you want it mv "${BIN_OUTPUT}" "./bin/${BIN_RELEASE}" + + + - name: Create release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.PAT }} + with: + tag_name: ${{ steps.create_tag.outputs.version }} + release_name: Release ${{ steps.create_tag.outputs.version }} + draft: false + prerelease: true