Skip to content

Merge pull request #175 from purdue-arc/jcrm1-patch-1 #95

Merge pull request #175 from purdue-arc/jcrm1-patch-1

Merge pull request #175 from purdue-arc/jcrm1-patch-1 #95

Workflow file for this run

name: Top-level push workflow
on:
workflow_dispatch:
push:
branches: ['main']
jobs:
changes:
name: Check for changes to files in docker directory
runs-on: ubuntu-latest
outputs:
docker: ${{ steps.changes.outputs.docker }}
steps:
- name: Checkout
uses: actions/checkout@v2
- id: changes
uses: dorny/paths-filter@v2
with:
filters: |
docker: ['docker/**']
docker:
name: Rebuild Docker image and push to latest
needs: changes
if: needs.changes.outputs.docker == 'true'
uses: purdue-arc/rocket_league/.github/workflows/docker-build-push.yml@main
secrets:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
catkin:
name: Catkin build and test using latest Docker image
needs: docker
if: always()
uses: purdue-arc/rocket_league/.github/workflows/catkin-build-test.yml@main
docs:
name: Build and deploy documentation
needs: docker
if: always()
uses: purdue-arc/rocket_league/.github/workflows/docs.yml@main