Skip to content

fix(payslip): allow for nullable fields #58

fix(payslip): allow for nullable fields

fix(payslip): allow for nullable fields #58

Workflow file for this run

name: release
on:
push:
branches:
- master
defaults:
run:
shell: bash
permissions:
contents: write
issues: write
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '3.1.x'
- name: prepare csharp-dotnet-sdk
run: |
dotnet build --configuration Release
dotnet test --configuration Release --no-restore
dotnet pack --configuration Release --no-build --no-restore --output .
- name: pause to avoid 2ndary rate limits # https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#about-secondary-rate-limits
run: |
sleep "$(echo $RANDOM % 60 + 1 | bc)"
- uses: cycjimmy/[email protected]
with:
semantic_version: 18
extra_plugins: |
@semantic-release/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish package distributions to NuGet
run: |
dotnet nuget push \
"$(ls -a AffixApi.Api.*.nupkg)" \
--source https://api.nuget.org/v3/index.json \
-k ${{ secrets.NUGET_API_KEY }}