Skip to content

Commit 6ec0e28

Browse files
committed
Debugging GH Action. Replaced run gh with actions-js/push plugin.
1 parent 44200b7 commit 6ec0e28

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/release.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
echo "Publishing Artifacts for $RELEASE_VERSION"
4040
(set -x; ./gradlew -Pversion="${RELEASE_VERSION}" -Psigning.secretKeyRingFile="${GITHUB_WORKSPACE}/secring.gpg" publishToSonatype closeAndReleaseSonatypeStagingRepository --no-daemon)
4141
echo "Publishing Documentation"
42-
./gradlew asciidoctor
43-
- name: Bump patch versioin by one
42+
./gradlew asciidoctor -Pversion="${RELEASE_VERSION}"
43+
- name: Bump patch version by one
4444
uses: actions-ecosystem/action-bump-semver@v1
4545
id: bump_semver
4646
with:
@@ -52,12 +52,11 @@ jobs:
5252
run: |
5353
echo "Preparing next snapshot"
5454
./gradlew snapshotVersion -Pversion="${NEXT_VERSION}"
55-
- name: Push next version snapshot
56-
run: |
57-
git config user.name "$GIT_USER_NAME"
58-
git config user.email "$GIT_USER_EMAIL"
59-
git commit -am "Bumped snapshot version"
60-
git push
55+
- name: Commit & Push changes
56+
uses: actions-js/push@master
57+
with:
58+
github_token: ${{ secrets.GITHUB_TOKEN }}
59+
message: 'Set version to next SNAPSHOT'
6160
- name: Export Gradle Properties
6261
uses: micronaut-projects/github-actions/export-gradle-properties@master
6362
- name: Publish to Github Pages

0 commit comments

Comments
 (0)