Skip to content

Bump docker/setup-buildx-action from 3 to 4 (#157) #224

Bump docker/setup-buildx-action from 3 to 4 (#157)

Bump docker/setup-buildx-action from 3 to 4 (#157) #224

Workflow file for this run

name: Java CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Build with Maven
run: mvn --no-transfer-progress --batch-mode --update-snapshots verify
- name: Test and fail on exceptions
run: |
set -euo pipefail
java -jar jd-cli/target/jd-cli.jar -od /tmp/src jd-lib/target/jd-lib-*.jar 2>&1 | tee output.log
if grep -iE "exception|error" output.log; then
echo "Detected Exception or Error in output."
exit 1
fi
- name: Upload output log
if: failure()
uses: actions/upload-artifact@v6
with:
name: jd-cli-log
path: output.log