Skip to content

Commit 99a7733

Browse files
committed
try ${{ env.RELEASE_VERSION }}
1 parent 668b749 commit 99a7733

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/macos-release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,18 @@ jobs:
3737
uses: actions/create-release@v1
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
4140
with:
42-
tag_name: ${{RELEASE_VERSION}}
43-
release_name: Release ${{RELEASE_VERSION}}
41+
tag_name: ${{ env.RELEASE_VERSION }}
42+
release_name: Release ${{ env.RELEASE_VERSION }}
4443
draft: false
4544
prerelease: false
4645
- name: Upload Release Asset
4746
id: upload-release-asset
4847
uses: actions/upload-release-asset@v1
4948
env:
5049
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51-
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
5250
with:
5351
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
5452
asset_path: build/product/macos/universal/macos-universal.zip
55-
asset_name: "macos-universal-${{RELEASE_VERSION}}.zip"
53+
asset_name: "macos-universal-${{ env.RELEASE_VERSION }}.zip"
5654
asset_content_type: application/zip

0 commit comments

Comments
 (0)