Bump com.fasterxml.jackson.core:jackson-databind from 2.18.2 to 2.18.3 #321
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- "master" | |
- "7.x" | |
pull_request: | |
branches: | |
- "master" | |
- "7.x" | |
env: | |
gradle-version: "8.7" | |
java-version: "17" | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04, windows-2022, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Configure sysctl limits | |
if: matrix.os == 'ubuntu-22.04' | |
run: | | |
sudo swapoff -a | |
sudo sysctl -w vm.swappiness=1 | |
sudo sysctl -w fs.file-max=262144 | |
sudo sysctl -w vm.max_map_count=262144 | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: "${{ env.java-version }}" | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
gradle-version: ${{ env.gradle-version }} | |
- name: Gradle build | |
run: gradle --build-cache assemble | |
- name: Gradle check | |
run: gradle check | |
- name: GitHub release | |
if: contains('refs/heads/master refs/heads/7.x', github.ref) && matrix.os == 'ubuntu-22.04' | |
run: | | |
version=$(cat gradle.properties | grep -e "^version *=" | awk -F" *= *" '{print $NF}') | |
is_snapshot=$(echo ${version} | grep -e "-SNAPSHOT$" | wc -l) | |
if [ "$is_snapshot" == "0" ]; then | |
echo ${{ github.token }} | gh auth login --with-token | |
gh release create ${version} ./build/distributions/*.zip -n "${version}" | |
fi |