Skip to content

Commit

Permalink
更新 build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
allMagicNB authored Jun 12, 2024
1 parent 2996df3 commit af2787c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit af2787c

Please sign in to comment.