Skip to content

call listener on packet errors #4

call listener on packet errors

call listener on packet errors #4

name: GraalVM Native 1.20.1 ViaVersion Beta Build And Release
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+\+linux.via.1.20.1'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Setup GraalVM
uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-musl: true
- name: Echo Versions and Paths
run: |
echo "GRAALVM_HOME: $GRAALVM_HOME"
echo "JAVA_HOME: $JAVA_HOME"
java --version
native-image --version
- name: Elevate wrapper permissions
run: chmod +x ./gradlew
- name: Build ZenithProxy
uses: gradle/gradle-build-action@v2
with:
arguments: nativeCompile
- name: Elevate binary permissions
run: chmod +x build/native/nativeCompile/*
- name: Zip Binary And Libs
run: zip -j ZenithProxy.zip build/native/nativeCompile/*
- name: Release Artifact
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
automatic_release_tag: "${{ github.ref_name }}"
files: |
ZenithProxy.zip