Skip to content

Commit

Permalink
Updated GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lowleveldesign committed Jan 16, 2024
1 parent b3c824c commit b4b870b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build Release using MSBuild
run: msbuild wtrace.sln -m /p:Configuration=Release

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: wtrace
path: bin\wtrace\net472\wtrace.exe
path: bin\wtrace\net48\wtrace.exe
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
- name: Build Release using MSBuild
run: msbuild wtrace.sln -m /p:Configuration=Release

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: wtrace
path: bin\wtrace\net472\wtrace.exe
path: bin\wtrace\net48\wtrace.exe

- name: Copy the binary to Chocolatey path
run: Copy-Item bin\wtrace\net472\wtrace.exe choco\tools
run: Copy-Item bin\wtrace\net48\wtrace.exe choco\tools

- run: |
Invoke-WebRequest -OutFile Print-FileHashes.ps1 https://gist.githubusercontent.com/lowleveldesign/f1afd42662ee8dabe07cf8cbfe25e6a1/raw/Print-FileHashes.ps1
Expand All @@ -47,7 +47,7 @@ jobs:
run: choco pack
working-directory: choco

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: wtrace-pkg
path: choco\wtrace.*.nupkg
Expand Down

0 comments on commit b4b870b

Please sign in to comment.