Skip to content

Commit 085be47

Browse files
authored
Update release.yml
1 parent ea65caf commit 085be47

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
on:
22
workflow_dispatch:
33

4-
# push:
5-
# branches: [ main ]
6-
# paths: [ VERSION ]
4+
push:
5+
branches: [ main ]
6+
paths: [ VERSION ]
77

88
jobs:
99
release:
10-
#if: "contains(github.event.head_commit.message, '[release]')"
10+
if: "contains(github.event.head_commit.message, '[release]')"
1111
runs-on: ubuntu-latest
1212

1313
steps:
@@ -19,11 +19,11 @@ jobs:
1919
java-version: '17'
2020
distribution: 'temurin'
2121

22-
#- name: Publish Plugin
23-
# env:
24-
# GRADLE_PUBLISH_KEY: ${{ vars.GRADLE_PUBLISH_KEY }}
25-
# GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
26-
# run: ./gradlew publishPlugins --no-daemon --stacktrace
22+
- name: Publish Plugin
23+
env:
24+
GRADLE_PUBLISH_KEY: ${{ vars.GRADLE_PUBLISH_KEY }}
25+
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
26+
run: ./gradlew publishPlugins --no-daemon --stacktrace
2727

2828
- name: Create Git Tag
2929
run: |

0 commit comments

Comments
 (0)