Skip to content

updated kotlin plugin to be proper multiplatform project #1

updated kotlin plugin to be proper multiplatform project

updated kotlin plugin to be proper multiplatform project #1

name: http-plugin-kt-cd
on:
pull_request:
types: [closed]
branches:
- main
paths:
- "implementations/kt/**"
jobs:
cd:
name: http-plugin-kt-cd
if: |
github.event.pull_request.merged &&
startsWith(github.event.pull_request.title, '[CD]') != true &&
github.event.pull_request.user.login != 'github-actions'
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: ./gradlew assemble
working-directory: ./implementations/kt
- name: Publish
run: ./gradlew publish
working-directory: ./implementations/kt
env:
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}