Files
Anti-Inventories/.gitea/workflows/build.yaml
pavel444-byte b577122a44
Some checks failed
Maven build / release (push) Failing after 6s
Fixed action to build plugin x2
2026-07-31 13:58:02 +05:00

29 lines
801 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@main
with:
# Используем явное имя токена Gitea, чтобы не путаться с GitHub
token: ${{ secrets.GITEA_TOKEN }}
files: target/*.jar