File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1414 type : string
1515 required : false
1616 default : ubuntu-latest
17+ upload_artifact :
18+ description : Upload the built artifact.
19+ type : string
20+ required : false
21+ default : ' false'
1722 outputs :
1823 artifact_name :
1924 description : The artifact name.
3540 run : make build
3641 - name : Upload artifact
3742 uses : actions/upload-artifact@v4
43+ if : inputs.upload_artifact == 'true'
3844 with :
3945 name : build-${{ github.sha }}
4046 if-no-files-found : error
Original file line number Diff line number Diff line change 6565 with :
6666 python_version : ${{ matrix.python }}
6767 runs_on : ${{ matrix.os }}
68+ upload_artifact : ${{ matrix.python == '3.11' && matrix.os == 'ubuntu-latest' }}
6869 strategy :
6970 fail-fast : false
7071 matrix :
You can’t perform that action at this time.
0 commit comments