File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -18,27 +18,14 @@ jobs:
1818 BALLERINA_${{ github.event.inputs.bal_central_environment }}_CENTRAL : true
1919 steps :
2020 - uses : actions/checkout@v2
21- - name : Set up JDK 11
22- uses : actions/setup-java@v1
23- with :
24- java-version : 11
25- - name : Grant execute permission for gradlew
26- run : chmod +x gradlew
27- - name : Build with Gradle
28- env :
29- packageUser : ${{ secrets.BALLERINA_BOT_USERNAME }}
30- packagePAT : ${{ secrets.BALLERINA_BOT_TOKEN }}
31- JAVA_OPTS : -DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true
32- run : |
33- ./gradlew build
21+
3422 - name : Ballerina Build
3523 uses : ballerina-platform/ballerina-action/@master
3624 with :
3725 args :
3826 pack
3927 env :
4028 WORKING_DIR : ./gmail
41- JAVA_OPTS : -DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true
4229
4330 - name : Push to Dev
4431 if : github.event.inputs.bal_central_environment == 'DEV'
4835 push
4936 env :
5037 WORKING_DIR : ./gmail
51- JAVA_OPTS : -DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true
5238 BALLERINA_CENTRAL_ACCESS_TOKEN : ${{ secrets.BALLERINA_CENTRAL_DEV_ACCESS_TOKEN }}
5339
5440 - name : Push to Staging
5945 push
6046 env :
6147 WORKING_DIR : ./gmail
62- JAVA_OPTS : -DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true
6348 BALLERINA_CENTRAL_ACCESS_TOKEN : ${{ secrets.BALLERINA_CENTRAL_STAGE_ACCESS_TOKEN }}
You can’t perform that action at this time.
0 commit comments