Skip to content

RELEASE: 6.0.0-alpha.17 #3412

RELEASE: 6.0.0-alpha.17

RELEASE: 6.0.0-alpha.17 #3412

Workflow file for this run

name: Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
jar-and-media:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Get branch name
id: branch-name
uses: tj-actions/[email protected]
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
check-latest: true
cache: 'gradle'
- uses: gradle/actions/setup-gradle@v3
with:
gradle-version: wrapper
- uses: luangong/setup-install4j@v1
with:
version: 10.0.7
license: ${{ secrets.INSTALL4J_LICENSE }}
- name: Build with Gradle
run: |
./gradlew -Pversion=${{ steps.branch-name.outputs.current_branch }} generateLicenseReport --info --full-stacktrace
./gradlew -Pversion=${{ steps.branch-name.outputs.current_branch }} build media --info --full-stacktrace
- uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: jar-and-media
path: |
media
build
buildSrc/build
serverpackcreator-api/build
serverpackcreator-app/build
serverpackcreator-web-frontend/dist
serverpackcreator-plugin-example/build
if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn`