Skip to content

Commit

Permalink
[ci] Fixing Nightly workflow to run with schedule too
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Jun 19, 2023
1 parent 2ddce97 commit 6a49159
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ on:
inputs:
version:
description: Nightly version number (e.g. 20221125)
required: true
required: false
type: string
default: ''
language:
description: Configured artefacts for the language will be built and pushed
required: true
Expand All @@ -19,7 +20,7 @@ on:

jobs:
ruby:
if: inputs.language == 'ruby'
if: inputs.language == 'ruby' || github.event_name == 'schedule'
name: Ruby
uses: ./.github/workflows/bazel.yml
strategy:
Expand All @@ -37,7 +38,7 @@ jobs:
bazel run //rb:${{ matrix.gem }}-release-nightly
java:
if: inputs.language == 'java'
if: inputs.language == 'java' || github.event_name == 'schedule'
name: Java
uses: ./.github/workflows/bazel.yml
with:
Expand All @@ -46,7 +47,7 @@ jobs:
run: ./go publish-maven-snapshot

grid:
if: inputs.language == 'java'
if: inputs.language == 'java' || github.event_name == 'schedule'
name: Grid
uses: ./.github/workflows/bazel.yml
with:
Expand All @@ -55,4 +56,4 @@ jobs:
run: |
echo build --stamp >>.bazelrc.local
./go prep-release-zip
nightly-release-files: build/dist/*.jar
nightly-release-files: build/dist/*.*

0 comments on commit 6a49159

Please sign in to comment.