mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-04-30 14:47:31 +00:00
Compare commits
1 Commits
af14a39f94
...
f89e657104
Author | SHA1 | Date | |
---|---|---|---|
|
f89e657104 |
@ -25,9 +25,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'adopt-hotspot'
|
distribution: 'adopt-hotspot'
|
||||||
- name: Set up Gradle
|
cache: 'gradle'
|
||||||
uses: gradle/actions/setup-gradle@v4
|
- uses: gradle/actions/wrapper-validation@v3
|
||||||
- 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
|
||||||
run: ./gradlew apiCheck
|
uses: gradle/gradle-build-action@v3.4.2
|
||||||
|
with:
|
||||||
|
gradle-version: 'wrapper'
|
||||||
|
arguments: apiCheck
|
||||||
|
9
.github/workflows/build-and-test.yml
vendored
9
.github/workflows/build-and-test.yml
vendored
@ -24,9 +24,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'adopt-hotspot'
|
distribution: 'adopt-hotspot'
|
||||||
- name: Set up Gradle
|
cache: 'gradle'
|
||||||
uses: gradle/actions/setup-gradle@v4
|
- uses: gradle/actions/wrapper-validation@v3
|
||||||
- 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
|
||||||
run: ./gradlew clean test
|
uses: gradle/gradle-build-action@v3.4.2
|
||||||
|
with:
|
||||||
|
gradle-version: 'wrapper'
|
||||||
|
arguments: test
|
||||||
|
9
.github/workflows/create-release.yml
vendored
9
.github/workflows/create-release.yml
vendored
@ -44,12 +44,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'adopt-hotspot'
|
distribution: 'adopt-hotspot'
|
||||||
- name: Set up Gradle
|
cache: 'gradle'
|
||||||
uses: gradle/actions/setup-gradle@v4
|
- uses: gradle/actions/wrapper-validation@v3
|
||||||
- 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
|
||||||
run: ./gradlew clean test assembleDist
|
uses: gradle/gradle-build-action@v3.4.2
|
||||||
|
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,12 +20,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'adopt-hotspot'
|
distribution: 'adopt-hotspot'
|
||||||
- name: Set up Gradle
|
cache: 'gradle'
|
||||||
uses: gradle/actions/setup-gradle@v4
|
- uses: gradle/actions/wrapper-validation@v3
|
||||||
- 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
|
||||||
run: ./gradlew clean test installDist
|
uses: gradle/gradle-build-action@v3.4.2
|
||||||
|
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,12 +20,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'adopt-hotspot'
|
distribution: 'adopt-hotspot'
|
||||||
- name: Set up Gradle
|
cache: 'gradle'
|
||||||
uses: gradle/actions/setup-gradle@v4
|
- uses: gradle/actions/wrapper-validation@v3
|
||||||
- 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
|
||||||
run: ./gradlew clean test installDist
|
uses: gradle/gradle-build-action@v3.4.2
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user