Files
Anti-Inventories/.gitea/workflows/build.yaml
pavel444-byte 34e8e0bbd1
Some checks failed
Maven build / release (push) Failing after 5s
Fixed action to build plugin
2026-07-31 13:50:36 +05:00

29 lines
799 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Maven build
on: [push, pull_request]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 25
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '25'
# Сборка через Maven на вашем сервере
- name: Build with Maven
run: mvn clean package
# Создание релиза прямо в вашем локальном Gitea
- name: Create Release
uses: gitea/release-action@v1
with:
# Используем явное имя токена Gitea, чтобы не путаться с GitHub
token: ${{ secrets.GITEA_TOKEN }}
files: target/*.jar