Fix Swift bundling issues for Kotlin 2.1.0. #42
Workflow file for this run
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
name: Publish Plugin | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
- '[0-9]+.[0-9]+.[0-9]+-[a-zA-Z0-9]*' | |
jobs: | |
gradle: | |
runs-on: self-hosted | |
permissions: | |
contents: read | |
packages: write | |
env: | |
RELEASE_VERSION: ${{ github.ref_name }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
token: ${{ secrets.ACCEPTANCE_TESTS_TOKEN }} | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: adopt | |
java-version: 11 | |
# TODO Ensure all tests pass | |
- name: Replace data | |
uses: gradle/[email protected] | |
with: | |
arguments: 'replaceData' | |
build-root-directory: SKIE | |
env: | |
SKIE_REPLACEMENT_STRING: ${{ secrets.SKIE_REPLACEMENT_STRING }} | |
- name: Publish to Maven Central | |
run: | | |
./publish.sh | |
working-directory: SKIE | |
env: | |
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | |
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | |
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} | |
ORG_GRADLE_PROJECT_signingPassword: "" |