Skip to content

working on publishing beta to nuget #5

working on publishing beta to nuget

working on publishing beta to nuget #5

Workflow file for this run

name: Publish Beta
on:
push:
branches: [ 1.0.0 ]
jobs:
publish_beta:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v3
- uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '6.0.x'
- id: determine_version
uses: gittools/actions/gitversion/[email protected]
- name: Publish beta CSharpier dotnet tool on push
uses: alirezanet/[email protected]
with:
VERSION_STATIC: ${{ env.branchName }}-beta${{ env.commitsSinceVersionSource }}
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
PROJECT_FILE_PATH: Src/CSharpier.Cli/CSharpier.Cli.csproj
TAG_FORMAT: "*"