Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwm authored Oct 15, 2024
1 parent 34a462d commit be4c599
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
build:
runs-on: windows-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: dotnet build --configuration Release
- name: Publish
run: dotnet nuget push **\*.nupkg --source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "**\\*.nupkg"
generateReleaseNotes: true

0 comments on commit be4c599

Please sign in to comment.