Skip to content

Commit

Permalink
Update test-cron.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
edeandrea authored Nov 21, 2023
1 parent f2499db commit 1b725be
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ name: Cron test
env:
LATEST_IMAGE_TAG: "latest"
IMAGE_BASE_NAME: "quay.io/quarkus-super-heroes"
DEFAULT_BRANCH: rhbq-2.13

on:
schedule:
- cron: '* * * * *'
- cron: '*/1 * * * *'
workflow_dispatch:
inputs:
branch:
Expand All @@ -27,5 +28,8 @@ jobs:
run-test:
runs-on: ubuntu-latest
steps:
- name: Set variable defaults
run: echo "BRANCH=${{ github.event.inputs.branch || env.DEFAULT_BRANCH }}" >> $GITHUB_ENV

- name: Print value
run: echo "branch = ${{ inputs.branch }}"
run: echo "branch = ${{ env.BRANCH }}"

0 comments on commit 1b725be

Please sign in to comment.