Skip to content

Commit

Permalink
Created a separate workflow to do NuGet releases, #4 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjerpbakk authored Oct 23, 2019
1 parent 7b24619 commit 1ae4dca
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
branches:
- master

jobs:
build_test_release:

runs-on: macOS-latest

steps:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1.2.0
with:
dotnet-version: 3.0.100
- uses: actions/checkout@v1
- name: Build and test
run: |
chmod +x ci.sh
./ci.sh
shell: bash
- name: Publish to NuGet
run: |
chmod +x pack.sh
./pack.sh
nuget push ./nupkgs/*.nupkg -ApiKey ${{ secrets.NUGET_KEY }}
shell: bash

0 comments on commit 1ae4dca

Please sign in to comment.