Files
InventoryTools/.github/workflows/build.yml
T
Oryfox e1a90879b2
Build & Release / build-and-release (push) Successful in 33s
.github/workflows/build.yml aktualisiert
2026-03-18 15:27:20 +01:00

34 lines
788 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:
java-version: 25
distribution: corretto
- name: Set up Maven
uses: https://git.oryfox.de/actions/setup-maven@v5
with:
maven-version: 3.9.14
- 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
token: ${{ secrets.REPOSITORY_TOKEN }}