-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding nightly build support for Github packages (#4758)
- Loading branch information
1 parent
3f3ce52
commit ea9cc53
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |