Skip to content

Commit 2641633

Browse files
committed
Attempt to fix too many twos
Removing unused steps as well.
1 parent 6bedc98 commit 2641633

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/build-validate.yaml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,6 @@ jobs:
3434
- name: Checkout Code
3535
uses: actions/checkout@v3
3636

37-
# Calculate the build number. Will change to a new strategy after the next minor release.
38-
# - name: Calculate Version
39-
# run: |
40-
# Write-Output "::echo::on"
41-
# $calcBuildNum = ([int]$env:GITHUB_RUN_NUMBER + 8303)
42-
# echo "Calculated number $calcBuildNum"
43-
# echo "BUILD_NUM=$calcBuildNum" | Out-File -FilePath $env:GITHUB_ENV -Append
44-
# echo "Set Build version to $env:BUILD_NUM"
45-
46-
# - name: (Debug) Output ENV vars
47-
# run: env
48-
4937
- name: Restore Packages
5038
run: msbuild -t:restore
5139

@@ -55,6 +43,7 @@ jobs:
5543
Write-Output "::echo::on"
5644
msbuild.exe $env:SLN_FILE -p:Configuration=Debug
5745
46+
# For now, let msbuild continue autogenerating assembly versions and base everything off of that.
5847
- name: Get AssemblyVersion generated by msbuild
5948
id: getversion
6049
uses: berglie/assembly-version/get@v1
@@ -64,7 +53,7 @@ jobs:
6453
- name: Upload Artifact
6554
uses: actions/upload-artifact@v3
6655
with:
67-
name: ${{ format('WinNUT-Client-debugbuild-v2.2.{0}', steps.getversion.outputs.version) }}
56+
name: ${{ format('WinNUT-Client-debugbuild-v{0}', steps.getversion.outputs.version) }}
6857
if-no-files-found: error
6958
path: ${{ env.DEBUG_OUTPUT }}
7059

0 commit comments

Comments
 (0)