Skip to content

Commit

Permalink
Revert to pre-merge actions
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconsole committed Oct 11, 2024
1 parent 51b3987 commit e5c21f9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ updates:
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: 6.0.x
target-branch: 5.0.x
labels:
- "type: dependency upgrade"
ignore:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
if: success()
uses: micronaut-projects/github-pages-deploy-action@grails
env:
TARGET_REPOSITORY: ${{ github.repository }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
BRANCH: gh-pages
COMMIT_EMAIL: ${{ env.GIT_USER_EMAIL }}
COMMIT_NAME: ${{ env.GIT_USER_NAME }}
FOLDER: docs/build/docs
DOC_FOLDER: gh-pages
COMMIT_EMAIL: '[email protected]'
COMMIT_NAME: 'grails-build'
COMMIT_NAME: 'grails-build'
18 changes: 7 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,20 @@ jobs:
with:
distribution: temurin
java-version: 17
- name: Get the current release version

- name: Set the current release version
id: release_version
run: |
echo "Release version: ${GITHUB_REF:11}"
echo "release_version=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
run: echo "release_version=${GITHUB_REF:11}" >> $GITHUB_OUTPUT

- name: Set projectVersion to the release version
- name: Run pre-release
uses: micronaut-projects/github-actions/pre-release@master

- name: Generate key file for artifact signing
- name: Generate secring file
env:
SECRING_FILE: ${{ secrets.SECRING_FILE }}
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg

- name: Publish release artifacts to Sonatype
- name: Publish to Sonatype
id: publish_to_sonatype
uses: gradle/actions/setup-gradle@v3
env:
Expand Down Expand Up @@ -60,15 +59,12 @@ jobs:
TARGET_REPOSITORY: ${{ github.repository }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
BRANCH: gh-pages
COMMIT_EMAIL: ${{ env.GIT_USER_EMAIL }}
COMMIT_NAME: ${{ env.GIT_USER_NAME }}
FOLDER: docs/build/docs
GH_TOKEN: ${{ secrets.GH_TOKEN }}
VERSION: ${{ steps.release_version.outputs.release_version }}
DOC_FOLDER: gh-pages
COMMIT_EMAIL: '[email protected]'
COMMIT_NAME: 'grails-build'

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

0 comments on commit e5c21f9

Please sign in to comment.