Updated versions.md #166
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] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: robocode.core test artifacts | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: robocode.core-test-result | |
path: robocode.core/build/reports/tests/test | |
- name: robocode.host test artifacts | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: robocode.host-test-result | |
path: robocode.host/build/reports/tests/test | |
- name: robocode.tests test artifacts | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: robocode.tests-result | |
path: robocode.tests/build/reports/tests/test | |
- name: setup binary artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
path: build/robocode-*-setup.jar |