-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Kord 0.7 upgrade (#4) * Dependency updates * Package changes com.gitlab.kordlib.kordx.emoji -> dev.kord.kordx.emoji * Upgrade to 0.7+ Kord range * Update CHANGELOG.MD * Match style of installation instructions * Use static version number * Remove buildscript block * Add publishing block * Add signing/staging * dev.kord.kordx -> dev.kord.x * Update to Gradle 6.8 * Ci megration (#5) * Update deployment-ci.yml * Delete github-ci.yml * Fix branch namings * Move tones into companion object * Just to trigger that CI * Document functions * make gradlew executable * Make Skintone an Enum * Don't rely on jdk9 * Actually migrate to maven (#7) * Migrate to maven * Add kts triggers for CI * This is not the object you're looking for * Correct artifact id * prefer integrations for versions (SNAPSHOTs) * Use direct snapshot version * Update kord snapshot name * Fix equality checks between generic emojis * Fix equals() on DiscordEmoji (#8) * Fix equals() on DiscordEmoji - Make extensions extend MessageBehavior instead of Message * I literally didn't realize that Generic wasn't a data class * Apply requested changes Co-authored-by: Bart Arys <[email protected]> * Kord 0.7.0 (#10) * Update dependencies * Update publishing Co-authored-by: Jake Mattson <[email protected]> Co-authored-by: BartArys <[email protected]> Co-authored-by: Bart Arys <[email protected]> Co-authored-by: Michael Rittmeister <[email protected]>
- Loading branch information
1 parent
395c751
commit d3ff9fa
Showing
16 changed files
with
2,292 additions
and
2,229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,73 @@ | ||
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created | ||
# For more information see: https://github.com/actions/setup-java#publishing-using-gradle | ||
# This workflow will build a package using Gradle and then publish it to maven | ||
|
||
name: Kotlin CI | ||
|
||
name: Deployment | ||
on: | ||
push: | ||
branches: | ||
- '**' # We want to run this on all branch pushes | ||
tags-ignore: | ||
- '**' # We don't want this to run on tags pushes | ||
pull_request: | ||
release: | ||
types: [created] | ||
|
||
types: [ published ] | ||
jobs: | ||
deloy: | ||
|
||
build: | ||
name: Build Kord | ||
runs-on: ubuntu-latest | ||
env: | ||
KORD_TEST_TOKEN: ${{ secrets.KORD_TEST_TOKEN }} | ||
GRADLE_OPTS: "-Dorg.gradle.daemon=false" | ||
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }} | ||
BINTRAY_USER: ${{ secrets.BINTRAY_USER }} | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: echo ::set-env name=RELEASE_TAG::${GITHUB_REF#refs/tags/} | ||
- name: Set up JDK 1.14 | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.14 | ||
|
||
java-version: 8 | ||
- name: Build with Gradle | ||
run: gradle --stacktrace --info bintrayUpload | ||
run: ./gradlew --stacktrace --info build | ||
if: | | ||
!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.pull_request.title, '[ci skip]') | ||
release: | ||
name: Publish artifacts | ||
runs-on: ubuntu-latest | ||
if: github.event_name != 'pull_request' | ||
needs: build | ||
env: | ||
NEXUS_USER: ${{ secrets.NEXUS_USER }} | ||
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} | ||
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.signingKey }} | ||
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.signingPassword }} | ||
GITHUB_EVENT_NAME: ${{ github.event_name }} | ||
GITHUB_TAG_NAME: ${{ github.event.release.tag_name }} | ||
GITHUB_TARGET_COMMITISH: ${{ github.event.release.target_commitish }} | ||
GITHUB_BRANCH_NAME: ${{ github.ref }} | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- name: Publish with Gradle | ||
run: ./gradlew -x test publish | ||
# Disabled for now | ||
# | ||
# - name: Close and Release Repository | ||
# run: ./gradlew closeAndReleaseRepository |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.