Skip to content

ci: Upload workflow file build.yml #2

ci: Upload workflow file build.yml

ci: Upload workflow file build.yml #2

Workflow file for this run

name: Build
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.5.1
- name: Gradle Build
run: |
chmod 755 ./gradlew
./gradlew clean shadowJarAll
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: eSync Package
path: build/libs/*.jar