This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
Merge pull request #60 from 3arthqu4ke/1.20.4-refactoring #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Project | |
on: | |
push: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build sources jar | |
run: ./gradlew sourcesJar | |
- name: Build javadoc jar | |
run: ./gradlew javadocJar | |
- name: Build jars | |
run: ./gradlew build |