Skip to content

Publish nuget

Publish nuget #58

Workflow file for this run

# v3.800.10
# https://virtocommerce.atlassian.net/browse/VCST-1738
name: Publish nuget
on:
workflow_dispatch:
inputs:
publishAlpha:
description: 'Publish nuget as alpha version.'
required: true
default: true
type: boolean
jobs:
test:
uses: VirtoCommerce/.github/.github/workflows/[email protected]
secrets:
sonarToken: ${{ secrets.SONAR_TOKEN }}
build:
uses: VirtoCommerce/.github/.github/workflows/[email protected]
with:
uploadPackage: 'true'
uploadDocker: 'false'
forceVersionSuffix: ${{ github.event.inputs.publishAlpha }}
secrets:
envPAT: ${{ secrets.REPO_TOKEN }}
publish-nuget:
needs:
[build, test]
uses: VirtoCommerce/.github/.github/workflows/[email protected]
with:
fullKey: ${{ needs.build.outputs.packageFullKey }}
forceGithub: false
secrets:
envPAT: ${{ secrets.GITHUB_TOKEN }}
nugetKey: ${{ secrets.NUGET_KEY }}