Skip to content

Commit

Permalink
Create release action pointing to nugettest
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoroz authored Nov 20, 2022
1 parent 3f297eb commit f1c12bb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.ym
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
release:
types: [published]

jobs:
build:

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: dotnet pack ./**/WanaKanaShaapu.csproj -c Release /p:Version=${{ github.event.release.tag_name }} /p:PackageReleaseNotes="See release notes at https://github.com/kmoroz/WanaKanaShaapu/releases/tag/${{ github.event.release.tag_name }}"

- name: Publish
run: dotnet nuget push */**/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://int.nugettest.org

0 comments on commit f1c12bb

Please sign in to comment.