Skip to content

Commit

Permalink
update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiuhc committed Sep 25, 2024
1 parent b233d35 commit d337bd1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
version:
required: true
type: string
description: Release Vesrion (no 'v' prefix)
description: Release Version (no 'v' prefix)
dryRun:
required: true
type: boolean
Expand Down Expand Up @@ -101,6 +101,18 @@ jobs:
include: 'evaluation-interop/build.gradle.kts'
regex: true

- name: Release evaluation-interop ${{ github.event.inputs.version }}
if: ${{ github.event.inputs.dryRun == 'false' && (github.event.inputs.releaseModule == 'evaluation-interop' || github.event.inputs.releaseModule == 'all') }}
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
run: |
./gradlew evaluation-interop:publishKotlinMultiplatformPublicationToSonatypeRepository
- name: Commit Release
if: ${{ github.event.inputs.dryRun == 'false' }}
env:
Expand Down

0 comments on commit d337bd1

Please sign in to comment.