Merge pull request #4040 from allMagicNB/main

让工作流不会因为没有 Tag 而跳过
This commit is contained in:
龙腾猫跃
2024-06-15 22:05:48 +08:00
committed by GitHub
+2 -1
View File
@@ -9,6 +9,7 @@ on:
paths: paths:
- 'Plain Craft Launcher 2/**' - 'Plain Craft Launcher 2/**'
- '.github/workflows/**' - '.github/workflows/**'
workflow_dispatch:
jobs: jobs:
@@ -29,7 +30,7 @@ jobs:
- name: Set Describe - name: Set Describe
shell: bash shell: bash
run: | run: |
Describe=`git describe --tags` Describe=`git describe --tags --always`
echo "Describe=$Describe" >> $GITHUB_ENV echo "Describe=$Describe" >> $GITHUB_ENV
- name: Setup MSBuild.exe - name: Setup MSBuild.exe