Skip to content

Commit bc5a0ee

Browse files
committed
Corrected var syntax (again)
Made variable syntax correct and consistent, also updated the build name to be more descriptive.
1 parent 0b724a0 commit bc5a0ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-validate.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
jobs:
2222
build:
2323

24-
name: build-${{matrix.os}}
24+
name: debug-build-${{ matrix.os }}
2525
runs-on: ${{ matrix.os }}
2626
strategy:
2727
matrix:
@@ -53,18 +53,18 @@ jobs:
5353
- name: Build solution
5454
run: |
5555
Write-Output "::echo::on"
56-
msbuild.exe $env:SLN_FILE -p:Configuration=Debug -p:AssemblyFileVersion=2.2.$env:BUILD_NUM
56+
msbuild.exe $env:SLN_FILE -p:Configuration=Debug
5757
5858
- name: Get AssemblyVersion generated by msbuild
5959
id: getversion
6060
uses: berglie/assembly-version/get@v1
6161
with:
62-
directory: env.DEBUG_OUTPUT
62+
directory: ${{ env.DEBUG_OUTPUT }}
6363

6464
- name: Upload Artifact
6565
uses: actions/upload-artifact@v3
6666
with:
6767
name: ${{ format('WinNUT-Client-debugbuild-v2.2.{0}', steps.getversion.outputs.version) }}
6868
if-no-files-found: error
69-
path: env.DEBUG_OUTPUT
69+
path: ${{ env.DEBUG_OUTPUT }}
7070

0 commit comments

Comments
 (0)