Skip to content

Commit b9e498c

Browse files
committed
Testing nightly builds
1 parent 8dd8b1d commit b9e498c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,17 @@ jobs:
3939
} else {
4040
$baseVersion = "0.32.0"
4141
}
42-
echo "MINVER_VERSION_OVERRIDE=$baseVersion-octopus-nightly-${{ github.run_number }}" >> $env:GITHUB_ENV
42+
$nightlyVersion = "$baseVersion-octopus-nightly-${{ github.run_number }}"
43+
Write-Host "Setting nightly version to: $nightlyVersion"
44+
"MINVERVERSIONOVERRIDE=$nightlyVersion" >> $env:GITHUB_ENV
4345
shell: pwsh
4446
- name: Build
4547
run: dotnet build LibGit2Sharp.sln --configuration Release
48+
- name: Show version
49+
run: |
50+
$package = Get-ChildItem artifacts/package/*.nupkg | Select-Object -First 1
51+
Write-Host "Built package: $($package.Name)"
52+
shell: pwsh
4653
- name: Upload packages
4754
uses: actions/upload-artifact@v4.3.1
4855
with:

0 commit comments

Comments
 (0)