Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/run_gradle_task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ run-name: "Gradle Task ${{ inputs.gradle-task }} @ ${{ inputs.runs-on }}"

on:
workflow_dispatch:
inputs:
checkout-ref:
description: "The repository reference to checkout"
required: false
type: string
workflow_call:
inputs:
gradle-task:
Expand Down Expand Up @@ -40,6 +45,8 @@ jobs:

- name: Checkout the repo
uses: actions/checkout@v3
with:
ref: ${{ inputs.checkout-ref || github.event.repository.default_branch }}

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/run_publish_maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Publish Maven

on:
workflow_dispatch:
inputs:
checkout-ref:
description: "The repository reference to checkout"
required: false
type: string
workflow_call:


Expand Down Expand Up @@ -30,3 +35,4 @@ jobs:
runs-on: macos-latest # only macOS supports building all Kotlin targets
gradle-task: >-
publishAllPublicationsToSonatypeReleaseRepository --stacktrace --no-configuration-cache --no-parallel
checkout-ref: ${{ inputs.checkout-ref || github.event.repository.default_branch }}