File tree 2 files changed +15
-28
lines changed
2 files changed +15
-28
lines changed Original file line number Diff line number Diff line change 21
21
type : string
22
22
default : ' ["3.x"]'
23
23
secrets :
24
- NODE_AUTH_TOKEN :
24
+ node-auth-token :
25
25
required : false
26
- PYPI_USERNAME :
26
+ pypi-username :
27
27
required : false
28
- PYPI_PASSWORD :
28
+ pypi-password :
29
29
required : false
30
30
31
31
jobs :
42
42
with :
43
43
node-version : " 14.x"
44
44
- name : Pin NPM Version
45
- run :
npm install -g [email protected]
45
+ run : npm install -g npm@8.19. 3
46
46
- name : Use Python ${{ matrix.python-version }}
47
47
uses : actions/setup-python@v2
48
48
with :
51
51
run : pip install -r requirements/nox-deps.txt
52
52
- name : Run Sessions
53
53
env :
54
- NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
55
- PYPI_USERNAME : ${{ secrets.PYPI_USERNAME }}
56
- PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
54
+ NODE_AUTH_TOKEN : ${{ secrets.node-auth-token }}
55
+ PYPI_USERNAME : ${{ secrets.pypi-username }}
56
+ PYPI_PASSWORD : ${{ secrets.pypi-password }}
57
57
run : nox ${{ inputs.nox-args }} --stop-on-first-error -- ${{ inputs.nox-session-args }}
Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
publish :
12
- runs-on : ubuntu-latest
13
- steps :
14
- - uses : actions/checkout@v2
15
- - uses : actions/setup-node@v2
16
- with :
17
- node-version : " 14.x"
18
- registry-url : " https://registry.npmjs.org"
19
- - name : Pin NPM Version
20
- run :
npm install -g [email protected]
21
- - name : Use Python ${{ matrix.python-version }}
22
- uses : actions/setup-python@v2
23
- with :
24
- python-version : ${{ matrix.python-version }}
25
- - name : Install Python Dependencies
26
- run : pip install -r requirements/nox-deps.txt
27
- - name : Run Sessions
28
- env :
29
- NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
30
- PYPI_USERNAME : ${{ secrets.PYPI_USERNAME }}
31
- PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
32
- run : nox -s publish
12
+ uses : ./.github/workflows/.nox-session.yml
13
+ with :
14
+ job-name : " publish"
15
+ nox-args : " -s publish"
16
+ secrets :
17
+ node-auth-token : ${{ secrets.NODE_AUTH_TOKEN }}
18
+ pypi-username : ${{ secrets.PYPI_USERNAME }}
19
+ pypi-password : ${{ secrets.PYPI_PASSWORD }}
You can’t perform that action at this time.
0 commit comments