Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverteal committed Jun 14, 2024
1 parent 0d7735a commit d26fd2f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ jobs:
run: |
Describe=`git describe --tags`
echo "Describe=$Describe" >> $GITHUB_ENV
continue-on-error: true

- name: 导出提交哈希出错,导出备用描述字符串,
shell: bash
run: |
echo "Describe=unknown" >> $GITHUB_ENV
if: ${{ failure() }}

- name: 配置 MSBuild
uses: microsoft/setup-msbuild@v2
Expand Down

0 comments on commit d26fd2f

Please sign in to comment.