File tree Expand file tree Collapse file tree 2 files changed +15
-28
lines changed Expand file tree Collapse file tree 2 files changed +15
-28
lines changed Original file line number Diff line number Diff line change 2121 type : string
2222 default : ' ["3.x"]'
2323 secrets :
24- NODE_AUTH_TOKEN :
24+ node-auth-token :
2525 required : false
26- PYPI_USERNAME :
26+ pypi-username :
2727 required : false
28- PYPI_PASSWORD :
28+ pypi-password :
2929 required : false
3030
3131jobs :
4242 with :
4343 node-version : " 14.x"
4444 - name : Pin NPM Version
45- run :
npm install -g [email protected] 45+ run : npm install -g npm@8.19. 3
4646 - name : Use Python ${{ matrix.python-version }}
4747 uses : actions/setup-python@v2
4848 with :
5151 run : pip install -r requirements/nox-deps.txt
5252 - name : Run Sessions
5353 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 }}
5757 run : nox ${{ inputs.nox-args }} --stop-on-first-error -- ${{ inputs.nox-session-args }}
Original file line number Diff line number Diff line change 99
1010jobs :
1111 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