Skip to content

Revert signing changes for now #3695

Revert signing changes for now

Revert signing changes for now #3695

Workflow file for this run

# This workflow will build a package using Gradle and then publish it to maven
name: Kotlin CI
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: [ published ]
jobs:
build:
name: Build Kord
runs-on: ubuntu-latest
if: |
!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.pull_request.title, '[ci skip]')
&& !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'kordlib/kord')
env:
KORD_TEST_TOKEN: ${{ secrets.KORD_TEST_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: --stacktrace --info build
release:
name: Publish artifacts
runs-on: ubuntu-latest
needs: build
if: |
!contains(github.event.head_commit.message, '[publish skip]') && github.event_name != 'pull_request' && github.ref != 'refs/heads/master'
env:
KORD_TEST_TOKEN: ${{ secrets.KORD_TEST_TOKEN }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.NEXUS_USER }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_PASSWORD }}
SIGNING_KEY: ${{ secrets.signingKey }}
SIGNING_PASSWORD: ${{ secrets.signingPassword }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: --stacktrace --info build
- name: Publish with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: -x test publish