Skip to content

Commit

Permalink
Merge branch '5.0.x' into matrei/github-workflows
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/gradle.yml
#	.github/workflows/release.yml
  • Loading branch information
matrei committed Dec 3, 2024
2 parents 36f2f48 + e9ebd9f commit a441f67
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches:
- '[4-9]+.[0-9]+.x'
env:
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }}

jobs:
test_project:
name: "Test Project"
Expand Down Expand Up @@ -65,7 +69,7 @@ jobs:
uses: micronaut-projects/github-pages-deploy-action@grails
env:
BRANCH: gh-pages
COMMIT_EMAIL: ${{ vars.GIT_USER_EMAIL }}
COMMIT_NAME: ${{ vars.GIT_USER_NAME }}
COMMIT_EMAIL: ${{ env.GIT_USER_EMAIL }}
COMMIT_NAME: ${{ env.GIT_USER_NAME }}
FOLDER: build/docs/manual
GH_TOKEN: ${{ secrets.GH_TOKEN }}
3 changes: 2 additions & 1 deletion .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: "Release Drafter"
on:
issues:
types: [closed,reopened]
types: [closed, reopened]
push:
branches:
- master
- '[4-9]+.[0-9]+.x'
pull_request:
types: [opened, reopened, synchronize]
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: "Release"
on:
release:
types: [published]
env:
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }}
jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -26,7 +29,6 @@ jobs:
env:
SECRING_FILE: ${{ secrets.SECRING_FILE }}
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg

- name: "📤 Publish artifacts to Sonatype"
id: publish_to_sonatype
env:
Expand All @@ -48,8 +50,8 @@ jobs:
uses: micronaut-projects/github-pages-deploy-action@grails
env:
BRANCH: gh-pages
COMMIT_EMAIL: ${{ vars.GIT_USER_EMAIL }}
COMMIT_NAME: ${{ vars.GIT_USER_NAME }}
COMMIT_EMAIL: ${{ env.GIT_USER_EMAIL }}
COMMIT_NAME: ${{ env.GIT_USER_NAME }}
FOLDER: build/docs/manual
GH_TOKEN: ${{ secrets.GH_TOKEN }}
VERSION: ${{ steps.release_version.outputs.release_version }}
Expand Down

0 comments on commit a441f67

Please sign in to comment.