PlatformPlayer + Manager: Make MIDI Synthesizer and Receiver static #200
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |