File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Publish Pypi Packages
2+ run-name : ${{ format('Release {0}', inputs.release_type)}} Package by @${{ github.actor }}
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ release_type :
7+ type : choice
8+ description : The type of release
9+ options :
10+ - Major
11+ - Minor
12+ - Patch
13+ publish_vulnerabilities :
14+ type : string
15+ default : true
16+ pull_request :
17+
18+ jobs :
19+ build-and-pubish :
20+ name : Build and publish Python packages to Pypi
21+ uses : IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-pypi-versioned.yaml@kcc-UID2-2330-create-workflow-for-python
22+ with :
23+ release_type : ${{ inputs.release_type }}
24+ secrets : inherit
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json" ,
3+ "version" : " 2.2" ,
4+ "publicReleaseRefSpec" : [
5+ " ^refs/heads/master$" ,
6+ " ^refs/heads/v\\ d+(?:\\ .\\ d+)?$"
7+ ],
8+ "cloudBuild" : {
9+ "setVersionVariables" : true ,
10+ "buildNumber" : {
11+ "enabled" : true ,
12+ "includeCommitId" : {
13+ "when" : " always"
14+ }
15+ }
16+ }
17+ }
You can’t perform that action at this time.
0 commit comments