init #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
- pull_request | |
- workflow_dispatch | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: 检出代码 | |
uses: actions/checkout@v5 | |
- name: 配置 Java | |
uses: actions/setup-java@v5 | |
with: | |
java-version: 25 | |
distribution: temurin | |
cache: maven | |
- name: Maven 构建 | |
run: mvn package | |
- name: 上传构建产物 | |
uses: actions/upload-artifact@v4 | |
with: | |
name: scx-logging-artifact | |
path: ./target/ |