-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (34 loc) · 1.03 KB
/
publish-nugets.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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/test-and-sonar.yml@v3.800.10
secrets:
sonarToken: ${{ secrets.SONAR_TOKEN }}
build:
uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.800.10
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/publish-github.yml@v3.800.10
with:
fullKey: ${{ needs.build.outputs.packageFullKey }}
forceGithub: false
secrets:
envPAT: ${{ secrets.GITHUB_TOKEN }}
nugetKey: ${{ secrets.NUGET_KEY }}