Skip to content

Commit c46f932

Browse files
committed
add env
1 parent 338bab2 commit c46f932

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/macos-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name: Create Release
88

99
jobs:
1010
build:
11-
name: compile all libs
11+
name: compile macos libs then deploy
1212
runs-on: macos-latest
1313
steps:
1414
- name: Checkout code
@@ -38,6 +38,7 @@ jobs:
3838
uses: actions/create-release@v1
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
4142
with:
4243
tag_name: $RELEASE_VERSION
4344
release_name: Release $RELEASE_VERSION
@@ -48,6 +49,7 @@ jobs:
4849
uses: actions/upload-release-asset@v1
4950
env:
5051
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
5153
with:
5254
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
5355
asset_path: build/product/macos/universal/macos-universal.zip

0 commit comments

Comments
 (0)