Skip to content

Commit 26af4f0

Browse files
authored
build: bump actions to latest versions (#172)
* build: bump actions to latest versions Signed-off-by: Ruben Romero Montes <[email protected]> * build: upgrade build matrix to IC-2024.2 Signed-off-by: Ruben Romero Montes <[email protected]> --------- Signed-off-by: Ruben Romero Montes <[email protected]>
1 parent 7d9bc06 commit 26af4f0

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

.github/workflows/IJ-latest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- name: Set up JDK 17
1919
uses: actions/setup-java@v3
2020
with:
@@ -30,7 +30,7 @@ jobs:
3030
-PideaVersion=LATEST-EAP-SNAPSHOT
3131
-Pgpr.username=${{ github.actor }}
3232
-Pgpr.token=${{ secrets.GITHUB_TOKEN }}
33-
- uses: actions/upload-artifact@v2
33+
- uses: actions/upload-artifact@v4
3434
if: always()
3535
with:
3636
name: test-reports

.github/workflows/IJ.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
IJ: [IC-2022.3]
18-
17+
IJ:
18+
- IC-2024.2
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121
- name: Set up JDK 17
2222
uses: actions/setup-java@v3
2323
with:
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
- name: Checkout Code
42-
uses: actions/checkout@v2
42+
uses: actions/checkout@v4
4343
- name: Set up JDK 17
4444
uses: actions/setup-java@v3
4545
with:
@@ -55,7 +55,7 @@ jobs:
5555
-Pgpr.username=${{ github.actor }}
5656
-Pgpr.token=${{ secrets.GITHUB_TOKEN }}
5757
- name: Upload report
58-
uses: actions/upload-artifact@v2
58+
uses: actions/upload-artifact@v4
5959
if: always()
6060
with:
6161
name: verifier-report

.github/workflows/stage.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ jobs:
1515
name: Build plugin
1616
steps:
1717
- name: Checkout sources
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Install Java 17
2121
uses: actions/setup-java@v3
2222
with:
2323
java-version: 17
2424
distribution: 'oracle'
25+
cache: 'gradle'
2526

2627
- name: Build plugin with Gradle
2728
uses: gradle/gradle-build-action@v2
@@ -32,7 +33,7 @@ jobs:
3233
-Pgpr.token=${{ secrets.GITHUB_TOKEN }}
3334
3435
- name: Upload distribution archive as artifact
35-
uses: actions/upload-artifact@v3
36+
uses: actions/upload-artifact@v4
3637
with:
3738
name: distributions
3839
path: ./build/distributions
@@ -45,17 +46,17 @@ jobs:
4546
if: github.repository == 'redhat-developer/intellij-dependency-analytics'
4647
steps:
4748
- name: Checkout sources
48-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
4950

5051
- name: Download distribution artifacts
51-
uses: actions/download-artifact@v3
52+
uses: actions/download-artifact@v4
5253
with:
5354
name: distributions
5455
path: ./distributions
5556

5657
- name: Check for existing early-access release
5758
id: existing_release
58-
uses: actions/github-script@v6
59+
uses: actions/github-script@v7
5960
continue-on-error: true
6061
with:
6162
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -67,7 +68,7 @@ jobs:
6768
6869
- name: Delete early-access release if exists
6970
if: ${{ steps.existing_release.outputs.id }}
70-
uses: actions/github-script@v6
71+
uses: actions/github-script@v7
7172
with:
7273
github-token: ${{ secrets.GITHUB_TOKEN }}
7374
script: |
@@ -85,7 +86,7 @@ jobs:
8586

8687
- name: Create new early-access release
8788
id: new_release
88-
uses: actions/github-script@v6
89+
uses: actions/github-script@v7
8990
with:
9091
github-token: ${{ secrets.GITHUB_TOKEN }}
9192
script: |

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ build
55
.gradle
66
out
77
distributions
8+
bin

0 commit comments

Comments
 (0)