From ef3ed11dbdda9faa2c5896445f9108107e3077a4 Mon Sep 17 00:00:00 2001 From: 7sDream Date: Thu, 16 Nov 2023 17:35:36 +0800 Subject: [PATCH] ci: fix binary location --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f74cd45..d7add36 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -109,7 +109,7 @@ jobs: - name: Move and rename binary shell: bash run: | - mv target/release/${{ inputs.name }}${{ fromJSON('["", ".exe"]')[matrix.platform == 'win32'] }} ${{ inputs.name }}-${{ matrix.platform }}-${{ matrix.arch }}-${{ matrix.libc }}${{ fromJSON('["", ".exe"]')[matrix.platform == 'win32'] }} + mv target/release/${{ matrix.rust-target }}/${{ inputs.name }}${{ fromJSON('["", ".exe"]')[matrix.platform == 'win32'] }} ${{ inputs.name }}-${{ matrix.platform }}-${{ matrix.arch }}-${{ matrix.libc }}${{ fromJSON('["", ".exe"]')[matrix.platform == 'win32'] }} - name: Upload binary uses: actions/upload-artifact@v3 with: