Skip to content

Commit 82b613b

Browse files
committed
Merge branch '2.0.x' into 3.0.x
2 parents a72187b + 70ecd43 commit 82b613b

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/gradle.yml

+22-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ on:
33
push:
44
branches:
55
- master
6+
- '[2-9]+.[0-9]+.x'
67
pull_request:
78
branches:
89
- master
10+
- '[2-9]+.[0-9]+.x'
911
jobs:
1012
build:
1113
runs-on: ubuntu-latest
@@ -36,4 +38,23 @@ jobs:
3638
uses: scacap/action-surefire-report@v1
3739
with:
3840
github_token: ${{ secrets.GITHUB_TOKEN }}
39-
report_paths: '**/build/test-results/test/TEST-*.xml'
41+
report_paths: '**/build/test-results/test/TEST-*.xml'
42+
publish:
43+
if: github.event_name == 'push'
44+
needs: ['build']
45+
runs-on: ubuntu-latest
46+
steps:
47+
- uses: actions/checkout@v4
48+
- name: Set up JDK
49+
uses: actions/setup-java@v4
50+
with:
51+
distribution: 'temurin'
52+
java-version: '17'
53+
- name: Publish Artifacts (repo.grails.org)
54+
id: publish
55+
uses: gradle/gradle-build-action@v3
56+
env:
57+
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
58+
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
59+
with:
60+
arguments: -Dorg.gradle.internal.publish.checksums.insecure=true publish

0 commit comments

Comments
 (0)