Skip to content

refactor: remove useless code check #2625

refactor: remove useless code check

refactor: remove useless code check #2625

Workflow file for this run

name: build
on:
- push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Java setup
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: 8
cache: "gradle"
- name: Set outputs
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Build
run: chmod +x ./gradlew && ./gradlew setupCiWorkspace && ./gradlew build
- name: Rename build artifacts
run: mv build/libs/FDPClient-*.jar build/libs/FDPClient-build.jar
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: FDPClient
path: build/libs/FDPClient-build.jar