File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 1717
1818# Based on Apache Arrow's java-nightly workflow
1919# https://github.com/apache/arrow/blob/master/.github/workflows/java_nightly.yml
20- name : Publish 1.0 documentation
20+ name : Publish documentation
2121
2222on :
2323 workflow_dispatch :
@@ -27,17 +27,21 @@ permissions:
2727
2828jobs :
2929 publish :
30- name : Publish 1.0 docs
30+ name : Publish docs on ${{ matrix.pekkoVersion }}
3131 runs-on : ubuntu-20.04
3232 if : github.repository == 'apache/pekko'
33+ strategy :
34+ fail-fast : false
35+ matrix :
36+ pekkoVersion : [ "main", "1.0.x" ]
3337 steps :
3438 # TODO we will need to change to use a release tag in future
3539 - name : Checkout
3640 uses : actions/checkout@v4
3741 with :
3842 fetch-depth : 0
3943 fetch-tags : true
40- ref : 1.0.x
44+ ref : ${{ matrix.pekkoVersion }}
4145
4246 - name : Setup Java 11
4347 uses : actions/setup-java@v4
Original file line number Diff line number Diff line change 2020name : Publish nightly snapshots and documentation
2121
2222on :
23- workflow_dispatch :
24- schedule :
25- - cron : " 0 0 * * *"
23+ pull_request :
24+ branches : ['**']
2625
2726permissions :
2827 contents : read
2928
3029jobs :
3130 publish-nightly :
32- name : Publish nightly
31+ name : Publish nightly on ${{ matrix.pekkoVersion }}
3332 runs-on : ubuntu-20.04
3433 if : github.repository == 'apache/pekko'
34+ strategy :
35+ fail-fast : false
36+ matrix :
37+ pekkoVersion : [ "main", "1.0.x" ]
3538 env :
3639 DEVELOCITY_ACCESS_KEY : ${{ secrets.GE_ACCESS_TOKEN }}
3740 steps :
4043 with :
4144 fetch-depth : 0
4245 fetch-tags : true
46+ ref : ${{ matrix.pekkoVersion }}
4347
4448 - name : Setup Java 11
4549 uses : actions/setup-java@v4
You can’t perform that action at this time.
0 commit comments