ci: 更新 Gradle 版本并配置 JDK 8 环境
- 将 Gradle版本从 8.14.2 升级到 9.0.0-rc-1 - 在 GitHub Actions 中设置 JDK 8 环境 - 更新 gradlew 和 gradlew.bat脚本,优化 Java命令执行
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: Github Actions Build
|
||||
run-name: ${{ github.actor }} is Build out Github Actions 🚀
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-dev
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 8
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '8'
|
||||
|
||||
|
||||
- name: build
|
||||
run: |
|
||||
./gradlew
|
||||
./gradlew build
|
||||
Reference in New Issue
Block a user