Skip to content

PlatformPlayer: Return -1 if player is REALIZED on getLevel() #152

PlatformPlayer: Return -1 if player is REALIZED on getLevel()

PlatformPlayer: Return -1 if player is REALIZED on getLevel() #152

Workflow file for this run

name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up OpenJDK 1.8
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '8'
- name: Build with Ant
run: ant -noinput -buildfile build.xml
- name: Compute commit short SHA
id: shortsha
run: |
echo "sha_short=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
echo "branch=$(echo ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}})" >> "$GITHUB_ENV"
echo "Branch: ${{ env.branch }}"
echo "Sha: ${{ env.sha_short }}"
- uses: actions/upload-artifact@v4
with:
name: freej2me-${{ env.branch }}-${{ env.sha_short }}
path: build/*.jar