@@ -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
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 }}
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 : |
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 : |
0 commit comments