diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c760a04..1376c6d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: # Check out current repository - name: Fetch Sources - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v4 # Validate wrapper - name: Gradle Wrapper Validation @@ -46,25 +46,25 @@ jobs: # Setup Java 17 environment for the next steps - name: Setup Java - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: distribution: zulu java-version: 17 # Check out current repository - name: Fetch Sources - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v4 # Cache Gradle dependencies - name: Setup Gradle Dependencies Cache - uses: actions/cache@v2.1.6 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} # Cache Gradle Wrapper - name: Setup Gradle Wrapper Cache - uses: actions/cache@v2.1.6 + uses: actions/cache@v4 with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} @@ -92,25 +92,25 @@ jobs: # Setup Java 17 environment for the next steps - name: Setup Java - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: distribution: zulu java-version: 17 # Check out current repository - name: Fetch Sources - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v4 # Cache Gradle Dependencies - name: Setup Gradle Dependencies Cache - uses: actions/cache@v2.1.6 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} # Cache Gradle Wrapper - name: Setup Gradle Wrapper Cache - uses: actions/cache@v2.1.6 + uses: actions/cache@v4 with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} @@ -140,7 +140,7 @@ jobs: # Upload plugin artifact to make it available in the next jobs - name: Upload artifact - uses: actions/upload-artifact@v2.2.3 + uses: actions/upload-artifact@v4 with: name: plugin-artifact path: ./build/distributions/${{ steps.properties.outputs.artifact }} @@ -155,25 +155,25 @@ jobs: # Setup Java 17 environment for the next steps - name: Setup Java - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: distribution: zulu java-version: 17 # Check out current repository - name: Fetch Sources - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v4 # Cache Gradle Dependencies - name: Setup Gradle Dependencies Cache - uses: actions/cache@v2.1.6 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} # Cache Gradle Wrapper - name: Setup Gradle Wrapper Cache - uses: actions/cache@v2.1.6 + uses: actions/cache@v4 with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} @@ -191,7 +191,7 @@ jobs: # Cache Plugin Verifier IDEs - name: Setup Plugin Verifier IDEs Cache - uses: actions/cache@v2.1.6 + uses: actions/cache@v4 with: path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides key: ${{ runner.os }}-plugin-verifier-${{ steps.properties.outputs.ideVersions }} @@ -211,7 +211,7 @@ jobs: # Check out current repository - name: Fetch Sources - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v4 # Remove old release drafts by using the curl request for the available releases with draft flag - name: Remove Old Release Drafts @@ -238,7 +238,7 @@ jobs: # Download plugin artifact provided by the previous job - name: Download Artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: plugin-artifact diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87be572..609facd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,14 +16,14 @@ jobs: # Setup Java 17 environment for the next steps - name: Setup Java - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: distribution: zulu java-version: 17 # Check out current repository - name: Fetch Sources - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v4 with: ref: ${{ github.event.release.tag_name }} @@ -42,14 +42,14 @@ jobs: # Setup Java 17 environment for the next steps - name: Setup Java - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: distribution: zulu java-version: 17 # Check out current repository - name: Fetch Sources - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v4 with: ref: ${{ github.event.release.tag_name }}