Skip to content

Commit

Permalink
adding nightly build support for Github packages (#4758)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb authored Feb 3, 2021
1 parent 3f3ce52 commit ea9cc53
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/nightly-nuget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Nightly Package
on:
schedule:
# Once a day at 8 AM
- cron: 0 8 * * *
jobs:
build-and-publish:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.101
source-url: https://nuget.pkg.github.com/akkadotnet/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Build Packages
run: build.cmd nugetprerelease=dev
- name: Push Packages
run: dotnet nuget push bin/nuget/*.nupkg

0 comments on commit ea9cc53

Please sign in to comment.