Add Why (It is for the plugins have other command name that not corre… #249
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 and Upload Artifacts | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.6 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v4.2.1 | |
with: | |
distribution: temurin | |
java-version: 8 | |
- name: Give permissions to Gradle | |
run: chmod +x ./gradlew | |
- name: Build with Gradle | |
run: ./gradlew jar | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v4.3.3 | |
with: | |
name: PerWorldPlugins | |
path: build/libs/**.jar |