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 14
14
type : string
15
15
required : false
16
16
default : ubuntu-latest
17
+ upload_artifact :
18
+ description : Upload the built artifact.
19
+ type : string
20
+ required : false
21
+ default : ' false'
17
22
outputs :
18
23
artifact_name :
19
24
description : The artifact name.
35
40
run : make build
36
41
- name : Upload artifact
37
42
uses : actions/upload-artifact@v4
43
+ if : inputs.upload_artifact == 'true'
38
44
with :
39
45
name : build-${{ github.sha }}
40
46
if-no-files-found : error
Original file line number Diff line number Diff line change 65
65
with :
66
66
python_version : ${{ matrix.python }}
67
67
runs_on : ${{ matrix.os }}
68
+ upload_artifact : ${{ matrix.python == '3.11' && matrix.os == 'ubuntu-latest' }}
68
69
strategy :
69
70
fail-fast : false
70
71
matrix :
You can’t perform that action at this time.
0 commit comments