Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5d45bf05c | ||
|
|
3c5621b9b9 | ||
|
|
b91166b5d6 | ||
|
|
7f308bfa00 | ||
|
|
bfbdfd2199 |
No files matched your search
@@ -0,0 +1,30 @@
|
||||
# Automatically build the project and run any configured tests for every push
|
||||
# and submitted pull request. This can help catch issues that only occur on
|
||||
# certain platforms or Java versions, and provides a first line of defence
|
||||
# against bad commits.
|
||||
|
||||
name: build
|
||||
on: [pull_request, push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@v6
|
||||
- name: validate gradle wrapper
|
||||
uses: gradle/actions/wrapper-validation@v6
|
||||
- name: setup jdk
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
java-version: '25'
|
||||
distribution: 'microsoft'
|
||||
- name: make gradle wrapper executable
|
||||
run: chmod +x ./gradlew
|
||||
- name: build
|
||||
run: ./gradlew build
|
||||
- name: capture build artifacts
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: Artifacts
|
||||
path: build/libs/
|
||||
@@ -32,7 +32,7 @@ public class fly {
|
||||
|
||||
// 飞行速度范围(/fly speed 参数范围)
|
||||
public static final float MIN_FLY_SPEED = 0.01F;
|
||||
public static final float MAX_FLY_SPEED = 0.15F;
|
||||
public static final float MAX_FLY_SPEED = 0.13F;
|
||||
|
||||
private static final Gson GSON = new GsonBuilder().setPrettyPrinting().create();
|
||||
|
||||
|
||||
Reference in new issue
Block a user