Skip to content

Commit

Permalink
Merge pull request #46 from smoogipoo/fix-gha-workflow
Browse files Browse the repository at this point in the history
Update + fix gha workflow
  • Loading branch information
smoogipoo committed Apr 30, 2024
2 parents ef7ba1f + bca1214 commit e1e9a4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore src
- name: Build
Expand All @@ -30,7 +30,7 @@ jobs:
run: dotnet nuget push bin\Packages\Release\ppy.*.nupkg -s https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}}
- name: Generate GitHub Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
bin\Packages\Release\ppy.*.nupkg

0 comments on commit e1e9a4c

Please sign in to comment.