Skip to content

Commit

Permalink
Update dotnet-build.yml
Browse files Browse the repository at this point in the history
Bumped action versions.
  • Loading branch information
DarkDaskin authored Mar 29, 2024
1 parent 794e054 commit 80b4145
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
submodules: true
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
with:
vs-version: '[17.0,18.0)'
- name: Add package source
run: dotnet nuget add source https://nuget.pkg.github.com/DarkDaskin/index.json -n github -u DarkDaskin -p ${{ secrets.GITHUB_TOKEN }}
run: dotnet nuget add source https://nuget.pkg.github.com/DarkDaskin/index.json -n github -u DarkDaskin -p ${{ secrets.GITHUB_TOKEN }}
- name: Restore packages
run: msbuild /t:Restore
- name: Build
run: msbuild /p:Configuration=Release
- name: Upload NuGet artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nupkg
path: |
**/*.nupkg
- name: Upload VSIX artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: vsix
path: |
Expand Down

0 comments on commit 80b4145

Please sign in to comment.