Skip to content

Commit e2066bf

Browse files
committed
chore(release): bump version to 0.3.4
1 parent 752f7c9 commit e2066bf

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
permissions:
1313
contents: read
14+
env:
15+
HAS_GRADLE_PLUGIN_PUBLISH_SECRETS: ${{ secrets.GRADLE_PUBLISH_KEY != '' && secrets.GRADLE_PUBLISH_SECRET != '' }}
1416
steps:
1517
- name: Check out
1618
uses: actions/checkout@v4
@@ -36,7 +38,12 @@ jobs:
3638
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_IN_MEMORY_KEY_PASSWORD }}
3739

3840
- name: Publish Gradle plugin
41+
if: env.HAS_GRADLE_PLUGIN_PUBLISH_SECRETS == 'true'
3942
run: ./gradlew publishPlugins -Playoutx2c.enablePublishing=true --no-configuration-cache
4043
env:
4144
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
4245
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
46+
47+
- name: Skip Gradle plugin publish
48+
if: env.HAS_GRADLE_PLUGIN_PUBLISH_SECRETS != 'true'
49+
run: echo "Skipping Gradle Plugin Portal publish because GRADLE_PUBLISH_KEY/SECRET are not configured."

‎build.gradle.kts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
extra["targetSdk"] = 36
1010
extra["compileSdk"] = 36
1111
extra["groupId"] = "com.github.donglua.layoutx2c"
12-
extra["versionName"] = "0.3.3"
12+
extra["versionName"] = "0.3.4"
1313
}
1414

1515
plugins {

0 commit comments

Comments
 (0)