Skip to content

Commit

Permalink
Create publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
horde-lord authored Jun 23, 2024
1 parent 1e5696a commit 2cad6f9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Publish

on: [schedule]
jobs:
builds:
runs-on: ubuntu-latest
steps:
- name: Create NuGet package
run: dotnet pack Core/Core.csproj --configuration Release --output nupkg -p:PackageId=Horde.Core -p:PackageVersion=1.0.1
- name: Publish
run: dotnet nuget push nupkg/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

0 comments on commit 2cad6f9

Please sign in to comment.