From 0535540ac8102780d19dae0ab834c3655df2ad25 Mon Sep 17 00:00:00 2001 From: Joonas Date: Wed, 3 May 2023 21:36:22 +0300 Subject: [PATCH] test --- .github/workflows/build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 23f3490..005efc2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,6 @@ on: types: - published - name: Build binaries jobs: @@ -29,6 +28,8 @@ jobs: with: command: build args: --release --no-default-features --features "vtf bsp" + - name: List binaries + run: ls target/release - name: "Get upload_url" run: echo "::set-output name=upload_url::https://uploads.github.com/repos/$GITHUB_REPOSITORY/releases/$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)/assets{?name,label}" id: release @@ -38,7 +39,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: asset_content_type: "application/octet-stream" - asset_name: bsp_${{ matrix.platform.os }} + asset_name: bsp_${{ matrix.platform.os }}${{ matrix.platform.bin_suffix }} asset_path: "target/release/bsp${{ matrix.platform.bin_suffix }}" upload_url: ${{ steps.release.outputs.upload_url }} - name: "Upload gma" @@ -47,7 +48,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: asset_content_type: "application/octet-stream" - asset_name: gma_${{ matrix.platform.os }} + asset_name: gma_${{ matrix.platform.os }}${{ matrix.platform.bin_suffix }} asset_path: "target/release/gma${{ matrix.platform.bin_suffix }}" upload_url: ${{ steps.release.outputs.upload_url }} - name: "Upload mdl" @@ -56,7 +57,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: asset_content_type: "application/octet-stream" - asset_name: mdl_${{ matrix.platform.os }} + asset_name: mdl_${{ matrix.platform.os }}${{ matrix.platform.bin_suffix }} asset_path: "target/release/mdl${{ matrix.platform.bin_suffix }}" upload_url: ${{ steps.release.outputs.upload_url }} - name: "Upload vtf" @@ -65,6 +66,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: asset_content_type: "application/octet-stream" - asset_name: vtf_${{ matrix.platform.os }} + asset_name: vtf_${{ matrix.platform.os }}${{ matrix.platform.bin_suffix }} asset_path: "target/release/vtf${{ matrix.platform.bin_suffix }}" upload_url: ${{ steps.release.outputs.upload_url }}