Skip to content

Publish nuget

Publish nuget #6

# v3.800.9
# https://virtocommerce.atlassian.net/browse/VCST-1260
name: Publish nuget
on:
workflow_dispatch:
inputs:
publishAlpha:
description: 'Publish nuget as alpha version.'
required: true
default: true
type: boolean
jobs:
build:
uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.800.9
with:
uploadPackage: 'true'
uploadDocker: 'false'
forceVersionSuffix: ${{ github.event.inputs.publishAlpha }}
secrets:
envPAT: ${{ secrets.REPO_TOKEN }}
publish-nuget:
needs:
[build, test]

Check failure on line 26 in .github/workflows/publish-nugets.yml

View workflow run for this annotation

GitHub Actions / Publish nuget

Invalid workflow file

The workflow is not valid. .github/workflows/publish-nugets.yml (Line: 26, Col: 15): Job 'publish-nuget' depends on unknown job 'test'.
uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@v3.800.9
with:
fullKey: ${{ needs.build.outputs.packageFullKey }}
forceGithub: false
secrets:
envPAT: ${{ secrets.GITHUB_TOKEN }}
nugetKey: ${{ secrets.NUGET_KEY }}