Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dlamkins authored Apr 16, 2024
1 parent c683f12 commit fd0edd8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
name: Nightly
runs-on: windows-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4.1.1
with:
submodules: 'true'
fetch-depth: 0
- uses: microsoft/setup-msbuild@v1.1
- uses: microsoft/setup-msbuild@v2

- name: Ensure dotnet 3.1 is available
shell: powershell
Expand All @@ -28,11 +28,11 @@ jobs:
shell: powershell
run: |
set-Content -Path 'Blish HUD/Properties/AssemblyVersionInfo.cs' -Value 'using System.Reflection;'
- uses: gittools/actions/gitversion/setup@v0.9.15
- uses: gittools/actions/gitversion/setup@v1.1.1
with:
versionSpec: '5.x'

- uses: gittools/actions/gitversion/execute@v0.9.15
- uses: gittools/actions/gitversion/execute@v1.1.1
id: gitversion
with:
updateAssemblyInfo: true
Expand All @@ -47,15 +47,15 @@ jobs:
run: |
remove-item "Blish HUD/bin/x64/Release/net472/Blish HUD.xml"
- name: Upload build artifact
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: Blish HUD ${{ steps.gitversion.outputs.semVer }}
path: Blish HUD/bin/x64/Release/net472

- name: Run dotnet pack
run: dotnet pack "Blish HUD" -c Release -p:VERSIONED_BUILD=${{ steps.gitversion.outputs.semVer }}
- name: Upload NuGet package artifacts
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: Blish HUD ${{ steps.gitversion.outputs.semVer }} NuGet packages
path: Blish HUD/bin/Release/BlishHUD.${{ steps.gitversion.outputs.semVer }}.*nupkg

0 comments on commit fd0edd8

Please sign in to comment.