diff options
| author | Rubenicos <44579213+rubenicos@users.noreply.github.com> | 2021-02-03 07:41:35 -0600 |
|---|---|---|
| committer | Leonardo <13875753+LMBishop@users.noreply.github.com> | 2021-02-03 16:47:09 +0000 |
| commit | 865f91c9367870e7b6eb513adcced50d057dad27 (patch) | |
| tree | 11195b25e0833f82ac631f424c694e10568a02cd /.github/workflows | |
| parent | 5c2460c93cc2746816893607c966eba2b5284d05 (diff) | |
New faster placeholders
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..16a80b27 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,40 @@ +name: Build Plugin + +on: ["pull_request", "push"] + +jobs: + build: + strategy: + matrix: + java: ["1.8", "11"] + os: ["ubuntu-18.04"] + runs-on: "${{ matrix.os }}" + + steps: + - name: "Checkout Repository" + uses: "actions/checkout@v2.3.4" + - name: "Setup JDK ${{ matrix.java }}" + uses: "actions/setup-java@v1.4.3" + with: + java-version: "${{ matrix.java }}" + - name: Cache .gradle/caches + uses: actions/cache@v1 + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} + restore-keys: ${{ runner.os }}-gradle- + - name: Cache .gradle/wrapper + uses: actions/cache@v1 + with: + path: ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/*.gradle') }} + restore-keys: ${{ runner.os }}-gradle-wrapper- + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build + - name: Upload Plugin + uses: actions/upload-artifact@master + with: + name: Quests-JDK${{ matrix.java }} + path: build/libs/*.jar
\ No newline at end of file |
