File tree Expand file tree Collapse file tree 9 files changed +7668
-8575
lines changed
Expand file tree Collapse file tree 9 files changed +7668
-8575
lines changed Original file line number Diff line number Diff line change 1717 npm run all
1818 test : # make sure the action works on a clean machine without building
1919 runs-on : ubuntu-latest
20+ permissions :
21+ packages : read
2022 steps :
2123 - uses : actions/checkout@v2
2224 - uses : ./
25+ id : get_package_version_id
2326 with :
24- milliseconds : 1000
27+ packageOwner : SpotlerSoftware
28+ packageName : spotler-library
29+ packageVersionName : 0.0.0-github-master-SNAPSHOT
30+ githubToken : $GITHUB_TOKEN
31+ - name : ' Echo output'
32+ run : echo ${{ steps.get_package_version_id.outputs.packageVersionId}}
Original file line number Diff line number Diff line change 1- name : ' Your name here '
2- description : ' Provide a description here '
3- author : ' Your name or organization here '
1+ name : ' get-package-version-id '
2+ description : ' Gets package version id '
3+ author : ' 808Brinks '
44inputs :
5- milliseconds : # change this
5+ packageOwner : # change this
66 required : true
7- description : ' input description here'
8- default : ' default value if applicable'
7+ description : ' Owner of the package'
8+ packageName : # change this
9+ required : true
10+ description : ' Name of the package'
11+ packageVersionName : # change this
12+ required : true
13+ description : ' Name version of the package'
14+ githubToken :
15+ required : true
16+ description : ' Github token'
17+ outputs :
18+ packageVersionId :
19+ description : ' The package version id'
920runs :
1021 using : ' node16'
1122 main : ' dist/index.js'
You can’t perform that action at this time.
0 commit comments