File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 17
17
required : false
18
18
type : string
19
19
default : ' ["3.x"]'
20
- uses-secrets :
21
- type : boolean
22
- default : false
20
+ node-registry-url :
21
+ required : false
22
+ type : string
23
+ default : " "
23
24
secrets :
24
25
node-auth-token :
25
26
required : false
39
40
steps :
40
41
- uses : actions/checkout@v2
41
42
- uses : actions/setup-node@v2
42
- if : ${{ inputs.uses-secrets }}}
43
- with :
44
- node-version : " 14.x"
45
- registry-url : " https://registry.npmjs.org"
46
- - uses : actions/setup-node@v2
47
- if : ${{ inputs.uses-secrets }}}
48
43
with :
49
44
node-version : " 14.x"
45
+ registry-url : ${{ inputs.node-registry-url }}
50
46
- name : Pin NPM Version
51
47
run :
npm install -g [email protected]
52
48
- name : Use Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 13
13
with :
14
14
job-name : " publish"
15
15
hatch-run : " publish"
16
- uses-secrets : true
16
+ node-registry-url : " https://registry.npmjs.org "
17
17
secrets :
18
18
node-auth-token : ${{ secrets.NODE_AUTH_TOKEN }}
19
19
pypi-username : ${{ secrets.PYPI_USERNAME }}
You can’t perform that action at this time.
0 commit comments