.forgejo/workflows/dotnet.yaml aktualisiert
All checks were successful
Dotnet Build / build (push) Successful in 53s
All checks were successful
Dotnet Build / build (push) Successful in 53s
This commit is contained in:
parent
025347faf6
commit
7d937fd89f
1 changed files with 0 additions and 2 deletions
|
@ -16,7 +16,6 @@ jobs:
|
||||||
msbuild -version
|
msbuild -version
|
||||||
|
|
||||||
- name: Extract project version
|
- name: Extract project version
|
||||||
shell: pwsh
|
|
||||||
run: |
|
run: |
|
||||||
$version = Select-String -Path "WeeXnes/WeeXnes.csproj" -Pattern "<Version>(.+?)</Version>" | ForEach-Object {
|
$version = Select-String -Path "WeeXnes/WeeXnes.csproj" -Pattern "<Version>(.+?)</Version>" | ForEach-Object {
|
||||||
($_ -match "<Version>(.+?)</Version>") | Out-Null
|
($_ -match "<Version>(.+?)</Version>") | Out-Null
|
||||||
|
@ -28,7 +27,6 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
- name: Test exported version variable
|
- name: Test exported version variable
|
||||||
shell: pwsh
|
|
||||||
run: |
|
run: |
|
||||||
Write-Output "The extracted project version is: $env:PROJECT_VERSION"
|
Write-Output "The extracted project version is: $env:PROJECT_VERSION"
|
||||||
if (-not $env:PROJECT_VERSION) {
|
if (-not $env:PROJECT_VERSION) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue