Files
InventoryTools/.github/workflows/build.yml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: line 28: mapping values are not allowed in this context

30 lines
627 B
YAML

name: Build & Release
on:
push:
branches:
- master
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: https://git.oryfox.de/actions/checkout@v4
- name: Set up JDK
uses: https://git.oryfox.de/actions/setup-java@v4
with:
distribution: temurin
java-version: 25
cache: maven
- name: Build with Maven
run: mvn -B clean package
- name: Create Release
uses: https://git.oryfox.de/actions/gitea-release-action@v1
with:
files: target/inventory-tools.jar