Skip to content

Commit

Permalink
Merge branch '2.18'
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 2, 2024
2 parents dd7b7e9 + 08517c2 commit eeb91ed
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cifuzz.yml
Expand Up @@ -30,7 +30,7 @@ jobs:
dry-run: false
language: jvm
- name: Upload Crash
uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Expand Up @@ -23,16 +23,16 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@c7f9125735019aa87cfc361530512d50ea439c71 # v3.25.1
uses: github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@c7f9125735019aa87cfc361530512d50ea439c71 # v3.25.1
uses: github/codeql-action/autobuild@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@c7f9125735019aa87cfc361530512d50ea439c71 # v3.25.1
uses: github/codeql-action/analyze@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
20 changes: 13 additions & 7 deletions .github/workflows/main.yml
Expand Up @@ -5,7 +5,6 @@ on:
- master
- "3.0"
- "2.18"
- "2.17"
paths-ignore:
- "README.md"
- "release-notes/*"
Expand All @@ -14,7 +13,6 @@ on:
- master
- "3.0"
- "2.18"
- "2.17"
paths-ignore:
- "README.md"
- "release-notes/*"
Expand All @@ -29,10 +27,17 @@ jobs:
matrix:
java_version: ['8', '11', '17', '21']
os: ['ubuntu-20.04']
include:
- java_version: '8'
os: 'ubuntu-20.04'
release_build: 'R'
- java_version: '8'
os: 'windows-latest'
is_windows: 'W'
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up JDK
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
Expand All @@ -49,22 +54,23 @@ jobs:
run: ./mvnw -B -ff -ntp clean verify
- name: Extract project Maven version
id: projectVersion
if: ${{ !matrix.is_windows }}
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
- name: Verify Android SDK Compatibility
if: matrix.java_version == '8'
if: ${{ matrix.release_build }}
run: ./mvnw -B -q -ff -ntp -DskipTests animal-sniffer:check
- name: Deploy snapshot
if: github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
if: ${{ github.event_name != 'pull_request' && matrix.release_build && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
env:
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
run: ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
- name: Generate code coverage
if: github.event_name != 'pull_request' && matrix.java_version == '8'
if: ${{ github.event_name != 'pull_request' && matrix.release_build }}
run: ./mvnw -B -q -ff -ntp test
- name: Publish code coverage
if: github.event_name != 'pull_request' && matrix.java_version == '8'
if: ${{ github.event_name != 'pull_request' && matrix.release_build }}
uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/win.yml

This file was deleted.

0 comments on commit eeb91ed

Please sign in to comment.