Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonli-improving committed Jan 30, 2024
1 parent ecfea81 commit 01986a0
Show file tree
Hide file tree
Showing 13 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Get changed files'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Get changed files'
Expand All @@ -42,7 +42,7 @@ jobs:
run: echo "ONLY_DOCS=false" >> $GITHUB_OUTPUT
- name: 'Set up JDK 8'
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
Expand All @@ -56,7 +56,7 @@ jobs:
run: ./gradlew jacocoTestReport
- name: 'Archive test results'
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'junit-report'
path: ./wrapper/build/reports/tests/test/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone Repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Set up JDK 8'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone Repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Set up JDK 8'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mysql_advanced_performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Set up JDK 8'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
AWS_SESSION_TOKEN: ${{ env.TEMP_AWS_SESSION_TOKEN }}
- name: 'Archive Performance Results'
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'performance-results'
path: ./wrapper/build/reports/tests/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mysql_performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Set up JDK 8'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
AWS_SESSION_TOKEN: ${{ env.TEMP_AWS_SESSION_TOKEN }}
- name: 'Archive Performance Results'
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'performance-results'
path: ./wrapper/build/reports/tests/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pg_advanced_performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Set up JDK 8'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
AWS_SESSION_TOKEN: ${{ env.TEMP_AWS_SESSION_TOKEN }}
- name: 'Archive Performance Results'
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'performance-results'
path: ./wrapper/build/reports/tests/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pg_performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Set up JDK 8'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
AWS_SESSION_TOKEN: ${{ env.TEMP_AWS_SESSION_TOKEN }}
- name: 'Archive Performance Results'
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'performance-results'
path: ./wrapper/build/reports/tests/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone Repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Set up JDK 8'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-autoscaling-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Set up JDK 8'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
Expand Down Expand Up @@ -51,14 +51,14 @@ jobs:
AWS_SESSION_TOKEN: ${{ env.TEMP_AWS_SESSION_TOKEN }}
- name: 'Archive junit results'
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: junit-report
path: ./wrapper/build/test-results
retention-days: 5
- name: 'Archive autoscaling report'
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: autoscaling-report
path: ./wrapper/build/report
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-hibernate-orm-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Get changed files'
Expand All @@ -36,7 +36,7 @@ jobs:
if: ${{steps.changed-files-specific.outputs.doc_only_changed == 'false' && steps.changed-files-specific.outputs.doc_only_modified == 'false'}}
run: echo "ONLY_DOCS=false" >> $GITHUB_OUTPUT
- name: 'Set up JDK 8'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
Expand All @@ -46,14 +46,14 @@ jobs:
./gradlew --no-parallel --no-daemon test-hibernate-only
- name: 'Archive junit results'
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: junit-report
path: ./wrapper/build/test-results
retention-days: 5
- name: 'Archive html summary report'
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: html-summary-report
path: ./wrapper/build/report
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Set up JDK 8'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
Expand Down Expand Up @@ -54,14 +54,14 @@ jobs:
AWS_SESSION_TOKEN: ${{ env.TEMP_AWS_SESSION_TOKEN }}
- name: 'Archive junit results'
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: junit-report
path: ./wrapper/build/test-results
retention-days: 5
- name: 'Archive html summary report'
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: html-summary-report
path: ./wrapper/build/report
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-standard-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Clone repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Get changed files'
Expand All @@ -37,7 +37,7 @@ jobs:
run: echo "ONLY_DOCS=false" >> $GITHUB_OUTPUT
- name: 'Set up JDK 8'
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
Expand All @@ -47,14 +47,14 @@ jobs:
./gradlew --no-parallel --no-daemon test-all-docker
- name: 'Archive junit results'
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: junit-report
path: ./wrapper/build/test-results
retention-days: 5
- name: 'Archive html summary report'
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: html-summary-report
path: ./wrapper/build/report
Expand Down

0 comments on commit 01986a0

Please sign in to comment.