Skip to content

Commit

Permalink
Update create release job
Browse files Browse the repository at this point in the history
  • Loading branch information
tizoc committed Aug 9, 2024
1 parent 40ff8f0 commit 5331be5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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_ENV
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down Expand Up @@ -93,8 +93,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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_path: ./_dist/shen-scheme-${{ needs.create_release.outputs.version_tag }}-${{ matrix.config.OSNAME }}-${{ matrix.config.arch }}-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'
Expand Down

0 comments on commit 5331be5

Please sign in to comment.