Skip to content

Commit

Permalink
refactor: Change GitHub Action version to address deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalcolea and TeamModerne committed Dec 10, 2024
1 parent de664a0 commit 1c76aaa
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ jobs:
matrix:
java: [8]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: |
git config --global user.name "Netflix OSS Maintainers"
git config --global user.email "[email protected]"
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- uses: actions/cache@v2
- uses: actions/cache@v4
id: gradle-cache
with:
path: |
~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- uses: actions/cache@v2
- uses: actions/cache@v4
id: gradle-wrapper-cache
with:
path: |
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: |
git config --global user.name "Netflix OSS Maintainers"
git config --global user.email "[email protected]"
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 8
- uses: actions/cache@v2
- uses: actions/cache@v4
id: gradle-cache
with:
path: |
~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- uses: actions/cache@v2
- uses: actions/cache@v4
id: gradle-wrapper-cache
with:
path: |
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/checkout@v4
- run: |
git config --global user.name "Netflix OSS Maintainers"
git config --global user.email "[email protected]"
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 8
- uses: actions/cache@v2
- uses: actions/cache@v4
id: gradle-cache
with:
path: |
~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- uses: actions/cache@v2
- uses: actions/cache@v4
id: gradle-wrapper-cache
with:
path: |
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ project(':awsobjectmapper') {

compileJava.dependsOn generateAwsMixins
sourcesJar.dependsOn tasks.withType(JavaCompile), generateAwsMixins
javadoc.dependsOn tasks.withType(JavaCompile), generateAwsMixins
javadocJar.dependsOn tasks.withType(JavaCompile), generateAwsMixins
licenseMain.dependsOn tasks.withType(JavaCompile), generateAwsMixins

sourceSets {
Expand Down

0 comments on commit 1c76aaa

Please sign in to comment.