Skip to content

Create LICENSE

Create LICENSE #20

Workflow file for this run

on:
push:
tags:
- 'v*'
branches:
- main
pull_request:
branches:
- main
name: Build robot
jobs:
build:
runs-on: ubuntu-latest
name: Build and possibly release
steps:
- name: Checkout
uses: actions/checkout@v3.5.3
- name: Setup Java
uses: actions/setup-java@v3.11.0
with:
java-version: 17
distribution: zulu
cache: 'gradle'
- name: Package
run: ./gradlew --no-daemon jar
- name: Release
if: startsWith(github.ref, 'refs/tags/v')
id: create_release
uses: softprops/action-gh-release@v0.1.15
with:
files: |
build/libs/nfc4pc-*.jar
fail_on_unmatched_files: true
body: Release ${{ github.ref_name }}
prerelease: true # manually promoted