1
0
mirror of synced 2025-02-22 05:09:36 +01:00

fix: suggestions for ${{}} syntax

Co-authored-by: Wei-Cheng Yeh (IID) <iid@ccns.ncku.edu.tw>
This commit is contained in:
Julian Holfeld 2024-10-31 07:13:23 +01:00 committed by Wei-Cheng Yeh (IID)
parent 4423dd3088
commit 7caeec9d17
No known key found for this signature in database
GPG Key ID: B4CFD34E463C500E

View File

@ -112,7 +112,7 @@ jobs:
git config --global user.email "actions@github.com"
git add OpenTaiko/OpenTaiko.csproj
git add CHANGELOG.md
git commit -m "Update changelog for version $env.version"
git commit -m "Update changelog for version $env:version"
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} HEAD:${{ github.ref }}
- name: Build for Windows x64
@ -145,7 +145,7 @@ jobs:
uses: mukunku/tag-exists-action@v1.6.0
id: check-tag
with:
tag: $env:version
tag: ${{ env.version }}
- name: Create Release
if: steps.check-tag.outputs.exists == 'false'
@ -153,8 +153,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: $env.version
release_name: OpenTaiko v$env.version
tag_name: ${{ env.version }}
release_name: OpenTaiko v${{ env.version }}
body: |
Note: The releases do not contain skins nor songs.
Please download/update through the OpenTaiko Hub: https://github.com/OpenTaiko/OpenTaiko-Hub/releases
@ -166,6 +166,6 @@ jobs:
with:
file: "OpenTaiko.Win.x64.zip;OpenTaiko.Linux.x64.zip"
overwrite: true
tag_name: $env.version
tag_name: ${{ env.version }}
draft: false
token: ${{ secrets.GITHUB_TOKEN }}