更新 build.yml

This commit is contained in:
allMagic
2024-06-12 22:09:36 +08:00
committed by GitHub
parent 2996df399b
commit af2787cdb8
+4 -4
View File
@@ -26,11 +26,11 @@ jobs:
with:
fetch-depth: 0
- name: Set Hash
- name: Set Describe
shell: bash
run: |
Hash=`git rev-parse --short HEAD`
echo "Hash=$Hash" >> $GITHUB_ENV
Describe=`git describe`
echo "Describe=$Describe" >> $GITHUB_ENV
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
@@ -43,5 +43,5 @@ jobs:
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.configuration }} ${{ env.Hash }}
name: ${{ matrix.configuration }} ${{ env.Describe }}
path: Plain Craft Launcher 2\obj\${{ matrix.configuration }}\Plain Craft Launcher 2.exe