Skip to content

fix(deps): update dependency net.kyori:adventure-text-serializer-lega… #335

fix(deps): update dependency net.kyori:adventure-text-serializer-lega…

fix(deps): update dependency net.kyori:adventure-text-serializer-lega… #335

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Build & Tests
on:
# 支持手动触发构建
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: "Set up JDK"
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'adopt'
# cache: maven
server-id: github
server-username: MAVEN_USERNAME
server-password: MAVEN_TOKEN
- name: "Package"
run: mvn -B package
env:
MAVEN_USERNAME: ${{ github.repository_owner }}
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: "Upload build targets"
uses: actions/upload-artifact@v5
with:
name: target
path: "**/target/"
retention-days: 1
- name: "Upload assets"
uses: actions/upload-artifact@v5
with:
name: assets
path: ".asset/*.jar"
retention-days: 5
include-hidden-files: true