Skip to content

Commit 091f067

Browse files
committed
actions: update workflows
1 parent 68a30e7 commit 091f067

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name: CI
44

55
on:
66
push:
7-
branches: [ master ]
7+
branches: [ master, 1-stable ]
88
pull_request:
9-
branches: [ master ]
9+
branches: [ master, 1-stable ]
1010

1111
# Allows to run this workflow manually from the Actions tab
1212
workflow_dispatch:
@@ -22,8 +22,8 @@ jobs:
2222
name: Validate Gradle wrapper
2323

2424
steps:
25-
- uses: actions/checkout@v4
26-
- uses: gradle/actions/wrapper-validation@v4
25+
- uses: actions/checkout@v6
26+
- uses: gradle/actions/wrapper-validation@v5
2727

2828
build:
2929

@@ -32,16 +32,16 @@ jobs:
3232

3333
strategy:
3434
matrix:
35-
java: [ '11', '21' ]
35+
java: [ '11', '21', '25' ]
3636

3737
name: Java ${{ matrix.java }} build
3838

3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v6
4141

4242
# Set JDK
4343
- name: Set up JDK
44-
uses: actions/setup-java@v4
44+
uses: actions/setup-java@v5
4545
with:
4646
java-version: ${{ matrix.java }}
4747
distribution: 'temurin'
@@ -53,10 +53,10 @@ jobs:
5353
5454
# Upload test artifact
5555
- name: Upload test output
56-
uses: actions/upload-artifact@v4
56+
uses: actions/upload-artifact@v6
5757
if: ${{ failure() }}
5858
with:
59-
name: test-output-${{ matrix.java }}
59+
name: test-1.x-output-${{ matrix.java }}
6060
path: |
6161
echosvg-test/build/reports/tests/test/
6262
test-references/samples/**/candidate-variation/*
@@ -65,5 +65,5 @@ jobs:
6565

6666
# Generate modular javadocs
6767
- name: Modular javadocs
68-
if: ${{ success() }}
68+
if: ${{ success() && (matrix.java == '21') }}
6969
run: ./gradlew modularJavadoc

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
# The branches below must be a subset of the branches above
88
branches: [ master ]
99
schedule:
10-
- cron: '23 6 8 * *'
10+
- cron: '22 6 8 * *'
1111

1212
jobs:
1313
analyze:
@@ -25,15 +25,15 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v6
2929

3030
- name: Initialize CodeQL
31-
uses: github/codeql-action/init@v3
31+
uses: github/codeql-action/init@v4
3232
with:
3333
languages: ${{ matrix.language }}
3434

3535
- name: Set up JDK
36-
uses: actions/setup-java@v4
36+
uses: actions/setup-java@v5
3737
with:
3838
java-version: '11'
3939
distribution: 'temurin'
@@ -42,4 +42,4 @@ jobs:
4242
run: ./gradlew build -x test
4343

4444
- name: Perform CodeQL Analysis
45-
uses: github/codeql-action/analyze@v3
45+
uses: github/codeql-action/analyze@v4

.github/workflows/gradle-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
packages: write
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
- name: Set up JDK 17
21-
uses: actions/setup-java@v4
21+
uses: actions/setup-java@v5
2222
with:
2323
java-version: '17'
2424
distribution: 'temurin'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To build EchoSVG you need the following software installed:
2929
- The [Git version control system](https://git-scm.com/downloads) is required to
3030
obtain the sources. Any recent version should suffice.
3131

32-
- Java version 11 to 21 (later versions may work but aren't tested by CI). You can install
32+
- Java version 11 to 25 (later versions may work but aren't tested by CI). You can install
3333
it from your favourite package manager or by downloading from [Adoptium](https://adoptium.net/).
3434

3535
<br/>

0 commit comments

Comments
 (0)