Skip to content

Swarming Table

Swarming Table #91

Workflow file for this run

name: Release
on:
release:
branches: master
type: published
jobs:
nugets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Find Latest Tag
id: find
uses: oprypin/[email protected]
with:
repository: ${{ github.repository }}
releases-only: true
- name: Pack
working-directory: src
run: dotnet pack --configuration Release -p:Version=${{ steps.find.outputs.tag }} -v m
- uses: AButler/[email protected]
with:
files: "**/Frank.Libraries.*.${{ steps.find.outputs.tag }}.nupkg"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish
working-directory: src
run: dotnet nuget push "**/Frank.Libraries.*.${{ steps.find.outputs.tag }}.nupkg" -k ${{ secrets.NugetKey }} -s https://api.nuget.org/v3/index.json --skip-duplicate