Skip to content

Commit ecfcab5

Browse files
committed
Some action versions are updated to the latest.
1 parent 5f35f6f commit ecfcab5

2 files changed

Lines changed: 19 additions & 14 deletions

File tree

.github/actions/full-build-metrics/action.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ runs:
2727
using: composite
2828
steps:
2929
- name: Download previous metrics artifact
30-
uses: dawidd6/action-download-artifact@v9
30+
uses: dawidd6/action-download-artifact@v20
3131
with:
3232
workflow: ${{ inputs.workflow-file }}
3333
workflow_conclusion: success
@@ -90,13 +90,20 @@ runs:
9090
} >> "$GITHUB_STEP_SUMMARY"
9191
9292
if [ "${regression}" = "true" ]; then
93-
exit 1
93+
echo "METRICS_REGRESSION=true" >> "$GITHUB_ENV"
94+
else
95+
echo "METRICS_REGRESSION=false" >> "$GITHUB_ENV"
9496
fi
9597
9698
- name: Upload current metrics artifact
97-
uses: actions/upload-artifact@v5
99+
uses: actions/upload-artifact@v7
98100
with:
99101
name: ${{ inputs.artifact-name }}
100102
path: build-metrics.env
101103
retention-days: ${{ inputs.retention-days }}
102104
if-no-files-found: error
105+
106+
- name: Mark metrics regression
107+
if: ${{ env.METRICS_REGRESSION == 'true' }}
108+
shell: bash
109+
run: exit 1

.github/workflows/ci.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ jobs:
120120
CI_env: GithubAction
121121
- name: Upload full-build-base log for metrics job
122122
if: success()
123-
uses: actions/upload-artifact@v5
123+
uses: actions/upload-artifact@v7
124124
with:
125125
name: full-build-base-log-current
126126
path: full-build-base.log
127127
retention-days: 1
128128
if-no-files-found: error
129129
- name: Upload evomaster.jar
130-
uses: actions/upload-artifact@v5
130+
uses: actions/upload-artifact@v7
131131
with:
132132
name: evomaster.jar
133133
path: core/target/evomaster.jar
@@ -159,7 +159,7 @@ jobs:
159159
steps:
160160
- uses: actions/checkout@v6
161161
- name: Download full-build-base log
162-
uses: actions/download-artifact@v5
162+
uses: actions/download-artifact@v8
163163
with:
164164
name: full-build-base-log-current
165165
path: .
@@ -174,8 +174,6 @@ jobs:
174174
#These metrics occupy very little space, increasing the retention so they are not lost if nothing is merged to master in a while
175175
retention-days: 90
176176

177-
178-
179177
base-build-mac:
180178
runs-on: macos-latest
181179
needs: setup
@@ -265,15 +263,15 @@ jobs:
265263
distribution: ${{env.java-distribution}}
266264
java-version: ${{env.release-jdk}}
267265
- name: Download fat jar
268-
uses: actions/download-artifact@v5
266+
uses: actions/download-artifact@v8
269267
with:
270268
name: evomaster.jar
271269
path: core/target
272270
- name: Build installation file
273271
shell: bash
274272
run: bash makeExecutable.sh WINDOWS
275273
- name: Upload installation file
276-
uses: actions/upload-artifact@v5
274+
uses: actions/upload-artifact@v7
277275
with:
278276
name: evomaster.msi
279277
path: release/evomaster-${{env.evomaster-version}}.msi
@@ -291,15 +289,15 @@ jobs:
291289
distribution: ${{env.java-distribution}}
292290
java-version: ${{env.release-jdk}}
293291
- name: Download fat jar
294-
uses: actions/download-artifact@v5
292+
uses: actions/download-artifact@v8
295293
with:
296294
name: evomaster.jar
297295
path: core/target
298296
- name: Build installation file
299297
shell: bash
300298
run: bash makeExecutable.sh OSX
301299
- name: Upload installation file
302-
uses: actions/upload-artifact@v5
300+
uses: actions/upload-artifact@v7
303301
with:
304302
name: evomaster.dmg
305303
path: release/evomaster-${{env.evomaster-version}}.dmg
@@ -317,7 +315,7 @@ jobs:
317315
distribution: ${{env.java-distribution}}
318316
java-version: ${{env.release-jdk}}
319317
- name: Download fat jar
320-
uses: actions/download-artifact@v5
318+
uses: actions/download-artifact@v8
321319
with:
322320
name: evomaster.jar
323321
path: core/target
@@ -328,7 +326,7 @@ jobs:
328326
shell: bash
329327
run: ls -l release
330328
- name: Upload installation file
331-
uses: actions/upload-artifact@v5
329+
uses: actions/upload-artifact@v7
332330
with:
333331
name: evomaster.deb
334332
# JDK 17 and 21 use different suffixes... doesn't seem configurable :(

0 commit comments

Comments
 (0)