File tree Expand file tree Collapse file tree 1 file changed +18
-10
lines changed
Expand file tree Collapse file tree 1 file changed +18
-10
lines changed Original file line number Diff line number Diff line change 1212 # Allows you to run this workflow manually from the Actions tab
1313 workflow_dispatch :
1414
15+ permissions :
16+ contents : read
17+
1518# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1619jobs :
1720 # This workflow contains a single job called "CI"
@@ -44,23 +47,21 @@ jobs:
4447 node-version-file : .node-version
4548 cache : npm
4649
47- - name : Install npm dependencies
50+ - name : Install Dependencies
51+ id : npm-ci
4852 run : npm ci
4953
50- - name : Build
51- run : npm run build
52-
53- - name : Format check
54- run : npm run format-check
54+ - name : Check Format
55+ id : npm-format-check
56+ run : npm run format:check
5557
5658 - name : Lint
59+ id : npm-lint
5760 run : npm run lint
5861
59- - name : Package
60- run : npm run package
61-
6262 - name : Test
63- run : npm run test
63+ id : npm-ci-test
64+ run : npm run ci-test
6465
6566 - name : Run the action on this runner with method ${{matrix.method}}
6667 uses : ./
@@ -81,12 +82,19 @@ jobs:
8182
8283 - name : Run the action on this runner with nvcc subpackage only (Windows)
8384 if : runner.os == 'Windows'
85+ id : test-action
8486 uses : ./
8587 with :
8688 method : ${{matrix.method}}
8789 sub-packages : ' ["nvcc"]'
8890 log-file-suffix : ' nvcc-${{matrix.method}}-${{matrix.os}}'
8991
92+ - name : Print output cuda version
93+ run : echo "${{ steps.test-action.outputs.cuda }}"
94+
95+ - name : Print output CUDA_PATH
96+ run : echo "${{ steps.test-action.outputs.CUDA_PATH }}"
97+
9098 - name : Test if nvcc is available
9199 run : nvcc -V
92100
You can’t perform that action at this time.
0 commit comments