File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 required : false
4242 type : string
4343 default : ' '
44+ nightly-release-files :
45+ description : Files to upload to the Nightly release tah
46+ required : false
47+ type : string
48+ default : ' '
4449
4550jobs :
4651 bazel :
@@ -122,3 +127,12 @@ jobs:
122127 uses : mxschmitt/action-tmate@v3
123128 with :
124129 limit-access-to-actor : false
130+ - name : Release Nightly
131+ if : inputs.nightly-release-files != ''
132+ uses : marvinpinto/action-automatic-releases@latest
133+ with :
134+ repo_token : " ${{ secrets.GITHUB_TOKEN }}"
135+ automatic_release_tag : " nightly"
136+ title : " Nightly"
137+ prerelease : true
138+ files : ${{ inputs.nightly-release-files }}
Original file line number Diff line number Diff line change @@ -46,20 +46,13 @@ jobs:
4646 run : ./go publish-maven-snapshot
4747
4848 grid :
49- runs-on : ubuntu-latest
5049 if : inputs.language == 'java'
51- steps :
52- - name : Java Build
53- uses : ./.github/workflows/bazel.yml
54- with :
55- name : Build Release
56- cache-key : java-nightly
57- run : ./go publish-maven-snapshot
58- - name : Release Nightly Grid
59- uses : marvinpinto/action-automatic-releases@latest
60- with :
61- repo_token : " ${{ secrets.GITHUB_TOKEN }}"
62- automatic_release_tag : " nightly"
63- title : " Nightly"
64- prerelease : true
65- files : build/dist/*.jar
50+ name : Grid
51+ uses : ./.github/workflows/bazel.yml
52+ with :
53+ name : Release
54+ cache-key : grid-nightly
55+ run : |
56+ echo build --stamp >>.bazelrc.local
57+ ./go prep-release-zip
58+ nightly-release-files : build/dist/*.jar
You can’t perform that action at this time.
0 commit comments