更新 build.yml
This commit is contained in:
@@ -26,11 +26,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set Hash
|
- name: Set Describe
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
Hash=`git rev-parse --short HEAD`
|
Describe=`git describe`
|
||||||
echo "Hash=$Hash" >> $GITHUB_ENV
|
echo "Describe=$Describe" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Setup MSBuild.exe
|
- name: Setup MSBuild.exe
|
||||||
uses: microsoft/setup-msbuild@v2
|
uses: microsoft/setup-msbuild@v2
|
||||||
@@ -43,5 +43,5 @@ jobs:
|
|||||||
- name: Upload a Build Artifact
|
- name: Upload a Build Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.configuration }} ${{ env.Hash }}
|
name: ${{ matrix.configuration }} ${{ env.Describe }}
|
||||||
path: Plain Craft Launcher 2\obj\${{ matrix.configuration }}\Plain Craft Launcher 2.exe
|
path: Plain Craft Launcher 2\obj\${{ matrix.configuration }}\Plain Craft Launcher 2.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user