mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-07-02 21:37:24 +00:00
Compare commits
7 Commits
v0.7.0
...
f8b72e7409
Author | SHA1 | Date | |
---|---|---|---|
f8b72e7409 | |||
376ea5a1ac | |||
bac7239513
|
|||
cc7ef37539
|
|||
4cf670a4d0
|
|||
d6781dbc71 | |||
63f68acccd
|
@ -25,12 +25,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'adopt-hotspot'
|
distribution: 'adopt-hotspot'
|
||||||
cache: 'gradle'
|
- name: Set up Gradle
|
||||||
- uses: gradle/wrapper-validation-action@v2
|
uses: gradle/actions/setup-gradle@v4
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build and run binary compatibility verification
|
- name: Build and run binary compatibility verification
|
||||||
uses: gradle/gradle-build-action@v3.1.0
|
run: ./gradlew apiCheck
|
||||||
with:
|
|
||||||
gradle-version: 'wrapper'
|
|
||||||
arguments: apiCheck
|
|
||||||
|
9
.github/workflows/build-and-test.yml
vendored
9
.github/workflows/build-and-test.yml
vendored
@ -24,12 +24,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'adopt-hotspot'
|
distribution: 'adopt-hotspot'
|
||||||
cache: 'gradle'
|
- name: Set up Gradle
|
||||||
- uses: gradle/wrapper-validation-action@v2
|
uses: gradle/actions/setup-gradle@v4
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
uses: gradle/gradle-build-action@v3.1.0
|
run: ./gradlew clean test
|
||||||
with:
|
|
||||||
gradle-version: 'wrapper'
|
|
||||||
arguments: test
|
|
||||||
|
9
.github/workflows/create-release.yml
vendored
9
.github/workflows/create-release.yml
vendored
@ -44,15 +44,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'adopt-hotspot'
|
distribution: 'adopt-hotspot'
|
||||||
cache: 'gradle'
|
- name: Set up Gradle
|
||||||
- uses: gradle/wrapper-validation-action@v2
|
uses: gradle/actions/setup-gradle@v4
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
uses: gradle/gradle-build-action@v3.1.0
|
run: ./gradlew clean test assembleDist
|
||||||
with:
|
|
||||||
gradle-version: 'wrapper'
|
|
||||||
arguments: clean test assembleDist
|
|
||||||
|
|
||||||
# 创建新的发行版本
|
# 创建新的发行版本
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
|
9
.github/workflows/publish-artifacts.yml
vendored
9
.github/workflows/publish-artifacts.yml
vendored
@ -20,15 +20,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'adopt-hotspot'
|
distribution: 'adopt-hotspot'
|
||||||
cache: 'gradle'
|
- name: Set up Gradle
|
||||||
- uses: gradle/wrapper-validation-action@v2
|
uses: gradle/actions/setup-gradle@v4
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
uses: gradle/gradle-build-action@v3.1.0
|
run: ./gradlew clean test installDist
|
||||||
with:
|
|
||||||
gradle-version: 'wrapper'
|
|
||||||
arguments: clean test installDist
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
- name: Set up Docker BuildX
|
- name: Set up Docker BuildX
|
||||||
|
@ -20,15 +20,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'adopt-hotspot'
|
distribution: 'adopt-hotspot'
|
||||||
cache: 'gradle'
|
- name: Set up Gradle
|
||||||
- uses: gradle/wrapper-validation-action@v2
|
uses: gradle/actions/setup-gradle@v4
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build project and install Distribution package
|
- name: Build project and install Distribution package
|
||||||
uses: gradle/gradle-build-action@v3.1.0
|
run: ./gradlew clean test installDist
|
||||||
with:
|
|
||||||
gradle-version: 'wrapper'
|
|
||||||
arguments: installDist
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
- name: Set up Docker BuildX
|
- name: Set up Docker BuildX
|
||||||
|
@ -23,7 +23,7 @@ dependencies {
|
|||||||
implementation("org.eclipse.aether:aether-connector-basic:$aetherVersion")
|
implementation("org.eclipse.aether:aether-connector-basic:$aetherVersion")
|
||||||
implementation("org.apache.maven:maven-aether-provider:3.3.9")
|
implementation("org.apache.maven:maven-aether-provider:3.3.9")
|
||||||
|
|
||||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
|
||||||
implementation("org.jetbrains.kotlin:kotlin-reflect:1.9.23")
|
implementation("org.jetbrains.kotlin:kotlin-reflect:1.9.23")
|
||||||
implementation("com.google.code.gson:gson:2.10.1")
|
implementation("com.google.code.gson:gson:2.10.1")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user