G a4c0d70721
Add Build Artifacts
Upload compiled jar files as Artifacts. Makes it a lot easier to test and distribute bleeding edge builds.
2022-02-15 13:19:44 -07:00

33 lines
735 B
YAML

name: Build
on:
push:
branches:
- unstable
pull_request:
branches:
- unstable
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Ant build
run: ant -noinput -buildfile build.xml clean check jar unittest
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: openrocket_build_${{ github.run_number }}
path: ${{github.workspace}}/swing/build/jar/OpenRocket.jar