Skip to content

Commit

Permalink
feat: trigger release, fixed path to release content
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Jun 5, 2022
1 parent 47d952e commit acee410
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ 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 @@ -56,15 +59,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "./release/*" # Separated by ;
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 ;
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
Binary file removed release/JsonSubTypes.dll
Binary file not shown.
Binary file removed release/NATS.Client.dll
Binary file not shown.
Binary file removed release/Newtonsoft.Json.dll
Binary file not shown.
Binary file removed release/Org.OpenAPITools.dll
Binary file not shown.
Binary file removed release/Oxide.Ext.Blackhawk.dll
Binary file not shown.
3 changes: 0 additions & 3 deletions release/Oxide.Ext.Blackhawk.dll.config

This file was deleted.

Binary file removed release/RestSharp.dll
Binary file not shown.
Binary file removed release/RustApi.dll
Binary file not shown.

0 comments on commit acee410

Please sign in to comment.