From 0ef86c7d772029d01eb54ad95a071840bf522bef Mon Sep 17 00:00:00 2001 From: beac0n Date: Sun, 4 Aug 2024 15:03:29 +0200 Subject: [PATCH] fix cd --- .github/workflows/rust.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 57bb520..1d3a0fd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -67,7 +67,7 @@ jobs: with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: target/release/client - asset_name: client-${{ github.ref }}-x86_64-linux + asset_name: client-${{ env.TAG_NAME }}-x86_64-linux asset_content_type: application/octet-stream - name: Upload Release Asset - Commander uses: actions/upload-release-asset@v1 @@ -76,7 +76,7 @@ jobs: with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: target/release/commander - asset_name: commander-${{ github.ref }}-x86_64-linux + asset_name: commander-${{ env.TAG_NAME }}-x86_64-linux asset_content_type: application/octet-stream - name: Upload Release Asset - Server uses: actions/upload-release-asset@v1 @@ -85,5 +85,5 @@ jobs: with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: target/release/server - asset_name: server-${{ github.ref }}-x86_64-linux + asset_name: server-${{ env.TAG_NAME }}-x86_64-linux asset_content_type: application/octet-stream \ No newline at end of file