Skip to content

Update dependency org.slf4j:slf4j-api to v2.0.16 #987

Update dependency org.slf4j:slf4j-api to v2.0.16

Update dependency org.slf4j:slf4j-api to v2.0.16 #987

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Java CI
on:
push:
branches: [ "master", "release", "v6", "api-std" ]
pull_request:
branches: [ "master", "release", "v6", "api-std" ]
workflow_dispatch:
release:
types:
- published
jobs:
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get WebUI Files
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cd src/main/resources && git clone --depth 1 --branch gh-pages "https://github.com/PBH-BTN/pbh-fe.git" static&& cd ../../..
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "21"
cache: 'maven'
cache-dependency-path: '**/pom.xml'
- uses: luangong/setup-install4j@v1
name: Setup Install4j
with:
version: 10.0.8
license: ${{ secrets.INSTALL4J_LICENSE }}
- name: Build with Maven
run: mvn -B clean package --file pom.xml -P install4j-ci,thin-sqlite-packaging
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: Linux-${{ github.sha }}
path: |
target/*.jar
target/peerbanhelper-binary
target/media/*.exe
id: project
- name: Set Up QEMU
uses: docker/setup-qemu-action@v3
- name: Set Up Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
images: ghostchu/peerbanhelper-snapshot
tags: |
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=raw,ci-jvm-universal
type=raw,ci
type=sha
- name: Build and push Docker image
uses: docker/[email protected]
with:
context: .
file: ./Dockerfile-CI
push: true
platforms: |
linux/amd64
linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}-jvm-universal