Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Change GitHub Action version to address deprecation of v1/v2 #119

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading