From fa21e3dca2bed48cb8a69717f0aa8708f30e8ac7 Mon Sep 17 00:00:00 2001 From: Pietro Bongiovanni Date: Wed, 13 Dec 2023 00:04:52 +0100 Subject: [PATCH] build with target/arch in binary name --- .github/workflows/cli-build-executables.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cli-build-executables.yml b/.github/workflows/cli-build-executables.yml index 184334e..d80756d 100644 --- a/.github/workflows/cli-build-executables.yml +++ b/.github/workflows/cli-build-executables.yml @@ -50,7 +50,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: build - args: --release --target ${{ matrix.target }} + args: --release --target ${{ matrix.target }} --bin mol-${{ matrix.os }}-${{ matrix.arch }} - name: Upload Artifact uses: actions/upload-artifact@v2 @@ -71,8 +71,8 @@ jobs: uses: softprops/action-gh-release@v1 with: files: | - mol-ubuntu-latest-x86_64 - mol-macos-latest-x86_64 + /home/runner/work/mol/mol/mol-ubuntu-latest-x86_64/mol-ubuntu-latest-x86_64 + /home/runner/work/mol/mol/mol-macos-latest-x86_64/mol-macos-latest-x86_64 /home/runner/work/mol/mol/mol-macos-latest-aarch64/mol-ubuntu-latest-aarch64 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file