Skip to content

Commit

Permalink
ci: fix path to files
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Jun 5, 2022
1 parent acee410 commit 7555872
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ jobs:
- if: steps.version_bump.outputs.wasBumped == 'true'
name: Create the nuget package
run: dotnet pack --configuration Release Oxide.Ext.GamingApi --no-restore
- if: steps.version_bump.outputs.wasBumped == 'true'
name: Publish the nuget package to GitHub registry
run: dotnet nuget push Oxide.Ext.GamingApi\bin\Release\Oxide.Ext.GamingApi.*.nupkg --api-key ${{secrets.NUGET_AUTH_TOKEN}}
- if: steps.version_bump.outputs.wasBumped == 'true'
name: Create GH release
id: create_release
Expand All @@ -59,12 +56,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "./Oxide.Ext.GamingApi/bin/Release/Oxide.Ext.GamingApi.dll;./Oxide.Ext.GamingApi/bin/Release/NATS.Client.dll;./Oxide.Ext.GamingApi/bin/Release/RustGameAPI.dll;./Oxide.Ext.GamingApi/bin/Release/Newtonsoft.Json.dll" # Separated by ;
file: "./Oxide.Ext.GamingApi/bin/Release/net461/Oxide.Ext.GamingApi.dll;./Oxide.Ext.GamingApi/bin/Release/net461/NATS.Client.dll;./Oxide.Ext.GamingApi/bin/Release/net461/RustGameAPI.dll;./Oxide.Ext.GamingApi/bin/Release/net461/Newtonsoft.Json.dll"
release_id: ${{ steps.create_release.outputs.id }}
overwrite: true
verbose: true
draft: false
update_latest_release: true
- if: steps.version_bump.outputs.wasBumped == 'true'
name: Publish the nuget package to GitHub registry
run: dotnet nuget push Oxide.Ext.GamingApi\bin\Release\Oxide.Ext.GamingApi.*.nupkg --api-key ${{secrets.NUGET_AUTH_TOKEN}}
- if: steps.version_bump.outputs.wasBumped == 'true'
name: Create Pull Request with bumped version
uses: peter-evans/create-pull-request@v3
Expand Down

0 comments on commit 7555872

Please sign in to comment.