Skip to content

Update ci cd

Update ci cd #2

Workflow file for this run

name: Build and Publish JAR
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build
- name: Upload JAR file
uses: actions/upload-artifact@v2
with:
name: docker3-jar
path: build/libs/docker3-0.0.1-SNAPSHOT.jar