Skip to content

Use the control ID to check whether the creatures can be picked up #236

Use the control ID to check whether the creatures can be picked up

Use the control ID to check whether the creatures can be picked up #236

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- uses: Trass3r/setup-cpp@master
- name: Build with Gradle
run: ./gradlew build
- uses: actions/upload-artifact@v4
with:
name: distribution
path: build/distributions/OpenKeeper.zip
- uses: marvinpinto/action-automatic-releases@latest
if: github.ref_name == 'master'
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
build/distributions/OpenKeeper.zip