Skip to content

Commit

Permalink
Add CI workflow (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
hazzik authored Oct 12, 2022
1 parent 2e52611 commit 8ee0bed
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
push:
tags: [ '*' ]

jobs:
push:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Pack
run: nuget pack -OutputDirectory ./dist -Version ${{ github.ref_name }}
- name: Push
run: nuget push dist/*.nupkg ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json

0 comments on commit 8ee0bed

Please sign in to comment.