-
Notifications
You must be signed in to change notification settings - Fork 949
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3b36a3
commit 1a7078c
Showing
6 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
env: | ||
WORKSPACE: ${{ github.workspace }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | ||
- name: Set up JDK | ||
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | ||
with: | ||
|
@@ -44,7 +44,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | ||
with: | ||
|
@@ -76,7 +76,7 @@ jobs: | |
echo $TARGET_BRANCH | ||
echo "value=${TARGET_BRANCH}" >> $GITHUB_OUTPUT | ||
- name: Invoke grails-doc release workflow | ||
uses: benc-uk/[email protected] | ||
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2 | ||
with: | ||
workflow: Java CI | ||
repo: grails/grails-doc | ||
|
@@ -96,7 +96,7 @@ jobs: | |
id: dispatch_message | ||
run: echo "value={\"message\":\"New Core Snapshot $(date) - $GITHUB_SHA\"}" >> $GITHUB_OUTPUT | ||
- name: Invoke the Java CI workflow in Grails Functional Tests | ||
uses: benc-uk/[email protected] | ||
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2 | ||
with: | ||
workflow: Java CI | ||
repo: grails/grails-functional-tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,12 @@ jobs: | |
GIT_USER_EMAIL: [email protected] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | ||
with: | ||
token: ${{ secrets.GH_TOKEN }} | ||
- uses: gradle/wrapper-validation-action@v2 | ||
- uses: gradle/wrapper-validation-action@b5418f5a58f5fd2eb486dd7efb368fe7be7eae45 # v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '11' | ||
|
@@ -43,7 +43,7 @@ jobs: | |
- name: Run Assemble | ||
if: success() | ||
id: assemble | ||
uses: gradle/actions/setup-gradle@v3 | ||
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3 | ||
with: | ||
arguments: assemble | ||
env: | ||
|
@@ -52,7 +52,7 @@ jobs: | |
GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }} | ||
- name: Upload Distribution | ||
if: success() | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4 | ||
with: | ||
name: grails-${{ steps.release_version.outputs.value }}.zip | ||
path: build/distributions/grails-${{ steps.release_version.outputs.value }}.zip | ||
|
@@ -72,7 +72,7 @@ jobs: | |
- name: Publish to Sonatype OSSRH | ||
id: publish | ||
if: success() | ||
uses: gradle/actions/setup-gradle@v3 | ||
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3 | ||
env: | ||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }} | ||
|
@@ -96,13 +96,13 @@ jobs: | |
contents: read | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | ||
with: | ||
token: ${{ secrets.GH_TOKEN }} | ||
ref: v${{ needs.publish.outputs.release_version }} | ||
- uses: gradle/wrapper-validation-action@v2 | ||
- uses: gradle/wrapper-validation-action@b5418f5a58f5fd2eb486dd7efb368fe7be7eae45 # v2 | ||
- name: Nexus Staging Close And Release | ||
uses: gradle/actions/setup-gradle@v3 | ||
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3 | ||
env: | ||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }} | ||
|
@@ -135,7 +135,7 @@ jobs: | |
env: | ||
RELEASE_VERSION: ${{ needs.publish.outputs.release_version }} | ||
- name: Invoke grails-doc release workflow | ||
uses: benc-uk/[email protected] | ||
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2 | ||
with: | ||
workflow: Release | ||
repo: grails/grails-doc | ||
|
@@ -157,7 +157,7 @@ jobs: | |
- name: Invoke grails-static-website release workflow | ||
if: success() | ||
id: grails_static_website | ||
uses: benc-uk/[email protected] | ||
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2 | ||
with: | ||
workflow: Release | ||
repo: grails/grails-static-website | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
GIT_USER_EMAIL: [email protected] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | ||
with: | ||
ref: "v${{ github.event.inputs.release }}" | ||
token: ${{ secrets.GH_TOKEN }} | ||
|
@@ -54,7 +54,7 @@ jobs: | |
- name: Upload artifacts to the Github release | ||
id: upload_artifact | ||
if: steps.assemble.outcome == 'success' | ||
uses: Roang-zero1/github-upload-release-artifacts-action@v3 | ||
uses: Roang-zero1/github-upload-release-artifacts-action@87271b3f8dca9feb9e9d44381fddd2db7f09d6e1 # v3 | ||
with: | ||
created_tag: v${{ github.event.inputs.release }} | ||
args: build/distributions/grails-${{ steps.release_version.outputs.release_version }}.zip | ||
|
@@ -70,7 +70,7 @@ jobs: | |
- name: Invoke grails-doc release workflow | ||
if: steps.assemble.outcome == 'success' | ||
id: grails_doc | ||
uses: benc-uk/[email protected] | ||
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2 | ||
with: | ||
workflow: Release | ||
repo: grails/grails-doc | ||
|
@@ -80,7 +80,7 @@ jobs: | |
- name: Invoke grails-static-website release workflow | ||
if: steps.assemble.outcome == 'success' | ||
id: grails_static_website | ||
uses: benc-uk/[email protected] | ||
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2 | ||
with: | ||
workflow: Release | ||
repo: grails/grails-static-website | ||
|