Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

让工作流不会因为没有 Tag 而跳过 #4040

Merged
merged 14 commits into from
Jun 15, 2024
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
paths:
- 'Plain Craft Launcher 2/**'
- '.github/workflows/**'
workflow_dispatch:

jobs:

Expand All @@ -29,7 +30,7 @@ jobs:
- name: Set Describe
shell: bash
run: |
Describe=`git describe --tags`
Describe=`git describe --tags --always`
echo "Describe=$Describe" >> $GITHUB_ENV

- name: Setup MSBuild.exe
Expand Down