Skip to content

Bump io.papermc.paper:paper-api from 1.20.6-R0.1-SNAPSHOT to 1.21-R0.1-SNAPSHOT #954

Bump io.papermc.paper:paper-api from 1.20.6-R0.1-SNAPSHOT to 1.21-R0.1-SNAPSHOT

Bump io.papermc.paper:paper-api from 1.20.6-R0.1-SNAPSHOT to 1.21-R0.1-SNAPSHOT #954

name: Generate Artifacts
on:
pull_request:
workflow_dispatch:
jobs:
generate-artifacts:
strategy:
fail-fast: false
matrix:
platform: [Bukkit, Paper]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
server-id: github
cache: 'gradle'
- id: vars
name: Downcase Platform Name
uses: ASzc/change-string-case-action@v2
with:
string: ${{ matrix.platform }}
- name: Generate artifacts
uses: burrunan/gradle-cache-action@v1
with:
arguments: inventory-framework-platform-${{ steps.vars.outputs.lowercase }}:shadowJar
gradle-version: wrapper
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: inventory-framework-platform-${{ steps.vars.outputs.lowercase }}-${{ github.sha }}.jar
path: inventory-framework-platform-${{ steps.vars.outputs.lowercase }}/build/libs/*.jar
retention-days: 3
if-no-files-found: error