We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1effc67 commit a41f7d8Copy full SHA for a41f7d8
.github/workflows/_build.yml
@@ -14,6 +14,11 @@ on:
14
type: string
15
required: false
16
default: ubuntu-latest
17
+ upload_artifact:
18
+ description: Upload the built artifact.
19
+ type: string
20
+ required: false
21
+ default: 'false'
22
outputs:
23
artifact_name:
24
description: The artifact name.
@@ -35,6 +40,7 @@ jobs:
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 }}
46
if-no-files-found: error
.github/workflows/check.yml
@@ -65,6 +65,7 @@ jobs:
65
66
python_version: ${{ matrix.python }}
67
runs_on: ${{ matrix.os }}
68
+ upload_artifact: ${{ matrix.python == '3.11' && matrix.os == 'ubuntu-latest' }}
69
strategy:
70
fail-fast: false
71
matrix:
0 commit comments