Skip to content

add latest build link to README #80

add latest build link to README

add latest build link to README #80

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_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