Skip to content

Update ant.yml

Update ant.yml #29

Workflow file for this run

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
java-package: jdk+fx
- name: Build with Ant
run: ant -noinput -buildfile build.xml
- name: Create zip
run: zip --junk-paths LR2oraja.zip build/beatoraja.jar
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: build${{github.run_id}}
release_name: LR2oraja Build ${{github.run_id}}
body: |
beatoraja with LR2 judge and gauges.
The download only includes beatoraja.jar.
You have to download the original beatoraja and replace beatoraja.jar with this jar file.
We will try to keep LR2oraja releases on this page up-to-date with the latest versions of beatoraja.
Last commit ${{github.sha}}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./LR2oraja.zip
asset_name: LR2oraja.zip
asset_content_type: application/zip