We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12555db commit ea8c6d5Copy full SHA for ea8c6d5
1 file changed
.github/workflows/publush.yml
@@ -33,9 +33,11 @@ jobs:
33
34
- name: Get version and build executable
35
run: |
36
- $version = $(git describe --tags --abbrev=0)
37
- if (-not $version) { $version = "0.0.0" }
38
- dotnet-warp publish --output GateSwitchWay-$version.exe
+ $version = $(git describe --tags --abbrev=0) -or "0.0.0"
+ dotnet-warp --input publish --output GateSwitchWay-$version.exe
+ shell: pwsh
39
+ env:
40
+ DOTNET_ROOT: C:\Program Files\dotnet
41
42
- name: Upload Published Artifacts
43
uses: actions/upload-artifact@v4
0 commit comments