Skip to content

Commit 668b749

Browse files
committed
try use double bracket.
1 parent c46f932 commit 668b749

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/macos-release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
envFile: 'constants.env'
2626
- name: do compile libs
2727
run: |
28-
echo "RELEASE_VERSION:$RELEASE_VERSION"
2928
./init-any.sh macos libyuv
3029
cd macos
3130
./compile-any.sh build libyuv
@@ -40,8 +39,8 @@ jobs:
4039
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4140
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
4241
with:
43-
tag_name: $RELEASE_VERSION
44-
release_name: Release $RELEASE_VERSION
42+
tag_name: ${{RELEASE_VERSION}}
43+
release_name: Release ${{RELEASE_VERSION}}
4544
draft: false
4645
prerelease: false
4746
- name: Upload Release Asset
@@ -53,5 +52,5 @@ jobs:
5352
with:
5453
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
5554
asset_path: build/product/macos/universal/macos-universal.zip
56-
asset_name: "macos-universal-$RELEASE_VERSION.zip"
55+
asset_name: "macos-universal-${{RELEASE_VERSION}}.zip"
5756
asset_content_type: application/zip

0 commit comments

Comments
 (0)