Skip to content

Commit 2d2fe79

Browse files
committed
nightly publish
1 parent ae09956 commit 2d2fe79

File tree

2 files changed

+8
-74
lines changed

2 files changed

+8
-74
lines changed

.github/workflows/publish-1.0-nightly.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/workflows/publish-nightly.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,21 @@
2020
name: Publish nightly snapshots and documentation
2121

2222
on:
23-
workflow_dispatch:
24-
schedule:
25-
- cron: "0 0 * * *"
23+
pull_request:
24+
branches: ['**']
2625

2726
permissions:
2827
contents: read
2928

3029
jobs:
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:
@@ -40,6 +43,7 @@ jobs:
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

0 commit comments

Comments
 (0)