Skip to content

Commit 40b5fce

Browse files
committed
update yml
1 parent 3a0c554 commit 40b5fce

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/macos-release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
envFile: 'constants.env'
2424
- name: do compile libs
2525
run: |
26+
echo "RELEASE_VERSION:$RELEASE_VERSION"
2627
./init-any.sh macos libyuv
2728
cd macos
2829
./compile-any.sh build libyuv
@@ -34,10 +35,10 @@ jobs:
3435
id: create_release
3536
uses: actions/create-release@v1
3637
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
GITHUB_TOKEN: $RELEASE_VERSION
3839
with:
39-
tag_name: ${{ env.RELEASE_VERSION }}
40-
release_name: Release ${{ env.RELEASE_VERSION }}
40+
tag_name: $RELEASE_VERSION
41+
release_name: Release $RELEASE_VERSION
4142
draft: false
4243
prerelease: false
4344
- name: Upload Release Asset
@@ -48,5 +49,5 @@ jobs:
4849
with:
4950
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
5051
asset_path: build/product/macos/universal/macos-universal.zip
51-
asset_name: "macos-universal-${{ env.RELEASE_VERSION }}.zip"
52+
asset_name: "macos-universal-$RELEASE_VERSION.zip"
5253
asset_content_type: application/zip

0 commit comments

Comments
 (0)