Skip to content

v4.0.1

v4.0.1 #20

Workflow file for this run

name: Publish package
on:
release:
types: [created]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '3.1.x'
- name: Install dependencies
run: nuget restore Omise.sln
- name: Test
run: make test TargetDotNet=3.0
- name: Create package
run: dotnet pack -c Release Omise/Omise.csproj
- name: Release
run: dotnet nuget push Omise/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_KEY}} --skip-duplicate