File tree 8 files changed +11
-26
lines changed
8 files changed +11
-26
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ jobs:
181
181
shell : bash
182
182
183
183
- name : Upload the schema
184
- uses : actions/upload-artifact@v3
184
+ uses : actions/upload-artifact@v4
185
185
with :
186
186
path : ./fluent-bit-schema*.json
187
187
name : fluent-bit-schema-${{ inputs.version }}
Original file line number Diff line number Diff line change 78
78
SOURCE_FILENAME_PREFIX : source-${{ inputs.version }}
79
79
80
80
- name : Upload the source artifacts
81
- uses : actions/upload-artifact@v3
81
+ uses : actions/upload-artifact@v4
82
82
with :
83
83
name : source-${{ inputs.version }}
84
84
path : source-packages/*
@@ -132,7 +132,7 @@ jobs:
132
132
133
133
- name : Replace all special characters with dashes
134
134
id : formatted_distro
135
- run :
135
+ run : |
136
136
output=${INPUT//[\/]/-}
137
137
echo "$INPUT --> $output"
138
138
echo "replaced=$output" >> "$GITHUB_OUTPUT"
@@ -151,7 +151,7 @@ jobs:
151
151
working-directory : packaging
152
152
153
153
- name : Upload the ${{ steps.formatted_distro.outputs.replaced }} artifacts
154
- uses : actions/upload-artifact@v3
154
+ uses : actions/upload-artifact@v4
155
155
with :
156
156
name : packages-${{ inputs.version }}-${{ steps.formatted_distro.outputs.replaced }}
157
157
path : packaging/packages/
Original file line number Diff line number Diff line change 90
90
working-directory : build
91
91
92
92
- name : Upload build packages
93
- uses : actions/upload-artifact@v3
93
+ uses : actions/upload-artifact@v4
94
94
with :
95
95
name : macos-packages
96
96
path : |
Original file line number Diff line number Diff line change @@ -168,9 +168,9 @@ jobs:
168
168
- name : Upload build packages
169
169
# Skip upload if we skipped build.
170
170
if : ${{ matrix.config.arch != 'amd64_arm64' || needs.call-build-windows-get-meta.outputs.armSupported == 'true' }}
171
- uses : actions/upload-artifact@v3
171
+ uses : actions/upload-artifact@v4
172
172
with :
173
- name : windows-packages
173
+ name : windows-packages-${{ matrix.config.arch }}
174
174
path : |
175
175
build/*-bit-*.exe
176
176
build/*-bit-*.msi
@@ -198,7 +198,7 @@ jobs:
198
198
continue-on-error : true
199
199
uses : actions/download-artifact@v4
200
200
with :
201
- name : windows-packages
201
+ pattern : windows-packages-*
202
202
path : artifacts/
203
203
204
204
- name : Set up Windows checksums
Original file line number Diff line number Diff line change 74
74
push : true
75
75
load : false
76
76
77
- - name : Upload the image just in case as an artefact
78
- run : |
79
- docker pull $IMAGE
80
- docker save --output /tmp/pr-image.tar $IMAGE
81
- env :
82
- IMAGE : ${{ steps.meta.outputs.tags }}
83
- shell : bash
84
-
85
- - name : Upload artifact
86
- uses : actions/upload-artifact@v3
87
- with :
88
- name : pr-${{ github.event.pull_request.number }}-image
89
- path : /tmp/pr-image.tar
90
- if-no-files-found : error
91
-
92
77
- name : Extract metadata from Github
93
78
id : meta-debug
94
79
uses : docker/metadata-action@v5
Original file line number Diff line number Diff line change 45
45
publish_results : true
46
46
47
47
- name : " Upload artifact"
48
- uses : actions/upload-artifact@v3
48
+ uses : actions/upload-artifact@v4
49
49
with :
50
50
name : SARIF file
51
51
path : scorecard-results.sarif
Original file line number Diff line number Diff line change 80
80
81
81
# In case we need to analyse the uploaded files for some reason.
82
82
- name : Detain results for debug if needed
83
- uses : actions/upload-artifact@v3
83
+ uses : actions/upload-artifact@v4
84
84
with :
85
85
name : trivy-results-${{ matrix.local_tag }}.sarif
86
86
path : trivy-results-${{ matrix.local_tag }}.sarif
Original file line number Diff line number Diff line change 26
26
language : c
27
27
output-sarif : true
28
28
- name : Upload Crash
29
- uses : actions/upload-artifact@v3
29
+ uses : actions/upload-artifact@v4
30
30
if : failure() && steps.build.outcome == 'success'
31
31
with :
32
32
name : artifacts
You can’t perform that action at this time.
0 commit comments