File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Gradle Plugins
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ permissions : {}
8+ jobs :
9+ publish_plugins :
10+ if : ${{ github.repository == 'graceframework/grace-framework' }}
11+ runs-on : ubuntu-22.04
12+ strategy :
13+ matrix :
14+ java : ['17']
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v4
18+ with :
19+ token : ${{ secrets.GITHUB_TOKEN }}
20+ ref : ${{ github.ref_name }}
21+ - name : Set up JDK
22+ uses : actions/setup-java@v4
23+ with :
24+ distribution : ' adopt'
25+ java-version : ${{ matrix.java }}
26+ - name : Publish Gradle plugins
27+ uses : gradle/actions/setup-gradle@v3
28+ with :
29+ arguments : :grace-gradle-plugin:publishPlugins
30+ env :
31+ GRADLE_PUBLISH_KEY : ${{ secrets.GRADLE_PUBLISH_KEY }}
32+ GRADLE_PUBLISH_SECRET : ${{ secrets.GRADLE_PUBLISH_SECRET }}
You can’t perform that action at this time.
0 commit comments