Add boat paddling as an option for detecting motility #47
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: Gradle CI | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Gradle build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Gradle build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build | |
- id: build_info | |
name: Get build info | |
run: | | |
echo "repository_name=$(basename $GITHUB_REPOSITORY)" >> $GITHUB_OUTPUT | |
echo "sha_short=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT | |
shell: bash | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ steps.build_info.outputs.repository_name }}-build-artifacts-${{ steps.build_info.outputs.sha_short }} | |
path: build/libs/ |