Skip to content

Fix respawn on all versions #53

Fix respawn on all versions

Fix respawn on all versions #53

Workflow file for this run

name: Maven Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 21
server-id: github
settings-path: ${{ github.workspace }}
- name: Download Server dependencies
run: |
chmod +x "${{ github.workspace }}/scripts/download-spigot.sh"
${{ github.workspace }}/scripts/download-spigot.sh "${{ github.workspace }}"
- name: Download Mapping dependencies
run: |
chmod +x "${{ github.workspace }}/scripts/download-mapping.sh"
${{ github.workspace }}/scripts/download-mapping.sh "${{ github.workspace }}"
- name: Install Mapping dependencies
run: |
chmod +x "${{ github.workspace }}/scripts/install-mapping.sh"
${{ github.workspace }}/scripts/install-mapping.sh "${{ github.workspace }}"
- name: Building maven project
run: mvn -B package
- name: Publish to GitHub Packages
run: mvn deploy -s ${{ github.workspace }}/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}