File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release to SDKMan
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ version :
6+ description : ' Version to release'
7+ required : true
8+ jobs :
9+ sdkman :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v3
16+ with :
17+ token : ${{ secrets.GH_TOKEN }}
18+ ref : v${{ github.event.inputs.version }}
19+ - name : Set up JDK
20+ uses : actions/setup-java@v3
21+ with :
22+ distribution : ' adopt'
23+ java-version : ' 8'
24+ - name : Grails SDK Minor Release
25+ uses : gradle/gradle-build-action@v2
26+ with :
27+ arguments : sdkMinorRelease
28+ env :
29+ GVM_SDKVENDOR_KEY : ${{ secrets.GVM_SDKVENDOR_KEY }}
30+ GVM_SDKVENDOR_TOKEN : ${{ secrets.GVM_SDKVENDOR_TOKEN }}
31+ - name : Set output
32+ id : set_output
33+ run : |
34+ echo ::set-output name=release_version::$(cat $GITHUB_OUTPUT)
35+ env :
36+ GITHUB_OUTPUT : ${{ github.workspace }}/build/release_version
You can’t perform that action at this time.
0 commit comments