Fix workflows

This commit is contained in:
Him188 2021-01-28 11:59:15 +08:00
parent 74c4369931
commit 9bfc6ffb4a
2 changed files with 12 additions and 11 deletions

View File

@ -21,15 +21,6 @@ jobs:
with:
submodules: recursive
- name: Check keys
run: >
./gradlew :mirai-core-utils:ensureBintrayAvailable
:mirai-core-api:ensureBintrayAvailable
:mirai-core:ensureBintrayAvailable
:mirai-console:ensureBintrayAvailable
-Dbintray_user=${{ secrets.BINTRAY_USER }} -Pbintray_user=${{ secrets.BINTRAY_USER }}
-Dbintray_key=${{ secrets.BINTRAY_KEY }} -Pbintray_key=${{ secrets.BINTRAY_KEY }}
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
@ -41,6 +32,15 @@ jobs:
- name: Init gradle project
run: ./gradlew clean --info
- name: Check keys
run: >
./gradlew :mirai-core-utils:ensureBintrayAvailable
:mirai-core-api:ensureBintrayAvailable
:mirai-core:ensureBintrayAvailable
:mirai-console:ensureBintrayAvailable
-Dbintray_user=${{ secrets.BINTRAY_USER }} -Pbintray_user=${{ secrets.BINTRAY_USER }}
-Dbintray_key=${{ secrets.BINTRAY_KEY }} -Pbintray_key=${{ secrets.BINTRAY_KEY }}
- name: fillBuildConstants
run: >
./gradlew

View File

@ -7,12 +7,13 @@
* https://github.com/mamoe/mirai/blob/master/LICENSE
*/
@file:Suppress("ObjectPropertyName", "ObjectPropertyName", "unused")
@file:Suppress("ObjectPropertyName", "ObjectPropertyName", "unused", "MemberVisibilityCanBePrivate")
import org.gradle.api.attributes.Attribute
object Versions {
const val project = "2.2.0-dev-4"
const val project = "2.2.0-dev-5"
const val core = project
const val console = project
const val consoleTerminal = project