From cdea93afd01c7c59bad5b924a4c68681fcd06690 Mon Sep 17 00:00:00 2001 From: Bruno Deferrari Date: Fri, 9 Aug 2024 10:42:48 -0300 Subject: [PATCH] Update create release job --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ccc37a..2931a90 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Set release version in env id: version_tag - run: echo ::set-output name=version_tag::${GITHUB_REF#refs/*/} + run: echo "version_tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - name: Create Release id: create_release uses: actions/create-release@v1 @@ -94,7 +94,7 @@ jobs: with: upload_url: ${{ needs.create_release.outputs.upload_url }} asset_path: ./_dist/shen-scheme-${{ needs.create_release.outputs.version_tag }}-${{ matrix.config.OSNAME }}-bin.${{ matrix.config.BUNDLE_EXT }} - asset_name: shen-scheme-${{ needs.create_release.outputs.version_tag }}-${{ matrix.config.OSNAME }}-bin.${{ matrix.config.BUNDLE_EXT }} + asset_name: shen-scheme-${{ needs.create_release.outputs.version_tag }}-${{ matrix.config.OSNAME }}-${{ matrix.config.arch }}-bin.${{ matrix.config.BUNDLE_EXT }} asset_content_type: ${{ matrix.config.ASSET_CONTENT_TYPE }} - name: Upload Release Asset (sources) if: runner.os == 'linux'