fix: suggestions for ${{}} syntax
Co-authored-by: Wei-Cheng Yeh (IID) <iid@ccns.ncku.edu.tw>
This commit is contained in:
parent
4423dd3088
commit
7caeec9d17
10
.github/workflows/autobuild.yaml
vendored
10
.github/workflows/autobuild.yaml
vendored
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user