Skip to content

Commit

Permalink
upgrade CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chenby committed Feb 21, 2024
1 parent ee85942 commit b30c673
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
java: [ '8', '11', '17', '21' ]
name: Build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup redis 1
uses: getong/redis-action@v1
with:
Expand All @@ -26,15 +26,15 @@ jobs:
with:
redis-version: '6.x'
- name: Setup JDK 11 for compile
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
check-latest: false
- name: Compile
run: mvn clean package -DskipTests -P CI --batch-mode --quiet
- name: Setup JDK ${{ matrix.java }} for running
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
check-latest: false
- name: Set up Apache Maven Central
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with: # running setup-java again overwrites the settings.xml
server-id: ossrh
java-version: '11'
Expand Down

0 comments on commit b30c673

Please sign in to comment.