Skip to content

Commit

Permalink
Update github action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
amitdev committed Apr 7, 2024
1 parent 930cf09 commit 4bc4703
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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 }}
Expand All @@ -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') }}
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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 }}

Expand Down

0 comments on commit 4bc4703

Please sign in to comment.