Merge remote-tracking branch 'refs/remotes/origin/main'
Java CI with Maven / build (push) Failing after 1m8s
Java CI with Maven / build (push) Failing after 1m8s
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
name: Java CI with Maven
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up JDK 21
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: '21'
|
||||||
|
distribution: 'temurin'
|
||||||
|
cache: maven
|
||||||
|
- uses: stCarolas/setup-maven@v5
|
||||||
|
- name: Build with Maven
|
||||||
|
run: mvn -B package --file pom.xml
|
||||||
|
- name: Release
|
||||||
|
uses: https://gitea.com/actions/release-action@main
|
||||||
|
with:
|
||||||
|
files: ./target/fantasysmp*.jar
|
||||||
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||||
Reference in New Issue
Block a user