Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 9971dd6

Browse files
committed
Rever to pre-merge actions
1 parent 51b3987 commit 9971dd6

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ updates:
55
schedule:
66
interval: daily
77
open-pull-requests-limit: 10
8-
target-branch: 6.0.x
8+
target-branch: 5.0.x
99
labels:
1010
- "type: dependency upgrade"
1111
ignore:

.github/workflows/gradle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ jobs:
5858
if: success()
5959
uses: micronaut-projects/github-pages-deploy-action@grails
6060
env:
61+
TARGET_REPOSITORY: ${{ github.repository }}
62+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
6163
BRANCH: gh-pages
62-
COMMIT_EMAIL: ${{ env.GIT_USER_EMAIL }}
63-
COMMIT_NAME: ${{ env.GIT_USER_NAME }}
6464
FOLDER: docs/build/docs
6565
DOC_FOLDER: gh-pages
6666
COMMIT_EMAIL: 'grails-build@users.noreply.github.com'
67-
COMMIT_NAME: 'grails-build'
67+
COMMIT_NAME: 'grails-build'

.github/workflows/release.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,20 @@ jobs:
1515
with:
1616
distribution: temurin
1717
java-version: 17
18-
- name: Get the current release version
18+
19+
- name: Set the current release version
1920
id: release_version
20-
run: |
21-
echo "Release version: ${GITHUB_REF:11}"
22-
echo "release_version=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
21+
run: echo "release_version=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
2322

24-
- name: Set projectVersion to the release version
23+
- name: Run pre-release
2524
uses: micronaut-projects/github-actions/pre-release@master
2625

27-
- name: Generate key file for artifact signing
26+
- name: Generate secring file
2827
env:
2928
SECRING_FILE: ${{ secrets.SECRING_FILE }}
3029
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
3130

32-
- name: Publish release artifacts to Sonatype
31+
- name: Publish to Sonatype
3332
id: publish_to_sonatype
3433
uses: gradle/actions/setup-gradle@v3
3534
env:
@@ -60,15 +59,12 @@ jobs:
6059
TARGET_REPOSITORY: ${{ github.repository }}
6160
GH_TOKEN: ${{ secrets.GH_TOKEN }}
6261
BRANCH: gh-pages
63-
COMMIT_EMAIL: ${{ env.GIT_USER_EMAIL }}
64-
COMMIT_NAME: ${{ env.GIT_USER_NAME }}
6562
FOLDER: docs/build/docs
66-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
6763
VERSION: ${{ steps.release_version.outputs.release_version }}
6864
DOC_FOLDER: gh-pages
6965
COMMIT_EMAIL: 'grails-build@users.noreply.github.com'
7066
COMMIT_NAME: 'grails-build'
7167

72-
- name: Set projectVersion to the next snapshot version
68+
- name: Run post-release
7369
if: steps.publish_to_sonatype.outcome == 'success'
7470
uses: micronaut-projects/github-actions/post-release@master

0 commit comments

Comments
 (0)