Skip to content

Commit

Permalink
nightly publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Roiocam committed Jun 4, 2024
1 parent ae09956 commit 2d2fe79
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 74 deletions.
70 changes: 0 additions & 70 deletions .github/workflows/publish-1.0-nightly.yml

This file was deleted.

12 changes: 8 additions & 4 deletions .github/workflows/publish-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,21 @@
name: Publish nightly snapshots and documentation

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
pull_request:
branches: ['**']

permissions:
contents: read

jobs:
publish-nightly:
name: Publish nightly
name: Publish nightly on ${{ matrix.pekkoVersion }}
runs-on: ubuntu-20.04
if: github.repository == 'apache/pekko'
strategy:
fail-fast: false
matrix:
pekkoVersion: [ "main", "1.0.x" ]
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
steps:
Expand All @@ -40,6 +43,7 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
ref: ${{ matrix.pekkoVersion }}

- name: Setup Java 11
uses: actions/setup-java@v4
Expand Down

0 comments on commit 2d2fe79

Please sign in to comment.