Cron Legacy #970
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cron job for https://github.com/ros-industrial/industrial_ci/blob/legacy/.github/workflows/legacy.yml | |
name: Cron Legacy | |
on: | |
schedule: | |
- cron: "0 0 * * *" # every day at midnight | |
# https://stackoverflow.com/questions/58798886/github-actions-schedule-operation-on-branch | |
jobs: | |
shellcheck: | |
if: github.repository == 'ros-industrial/industrial_ci' # don't run on forks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: legacy | |
- uses: docker://koalaman/shellcheck-alpine | |
with: | |
args: /bin/sh -c "shellcheck -x *.sh industrial_ci/scripts/*_ci industrial_ci/src/*.sh industrial_ci/src/*/*.sh" | |
industrial_ci: | |
if: github.repository == 'ros-industrial/industrial_ci' # don't run on forks | |
strategy: | |
fail-fast: false | |
matrix: | |
env: | |
- {ROS_DISTRO: melodic} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: legacy | |
- run: ./ci.sh | |
env: ${{matrix.env}} |