drop useless checkout paths #207
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
name: build | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '**.repos' | |
- '**.yaml' | |
schedule: | |
- cron: '13 1 * * 2,6' | |
jobs: | |
ros-robot: | |
uses: ./.github/workflows/debs-from-repos.yaml | |
with: | |
repos: ros-robot | |
ros-desktop: | |
if: success() || failure() # can get cancelled | |
needs: ros-robot | |
uses: ./.github/workflows/debs-from-repos.yaml | |
with: | |
repos: ros-desktop | |
depends: ros-robot | |
ros-desktop-full: | |
if: success() || failure() # can get cancelled | |
needs: ros-desktop | |
uses: ./.github/workflows/debs-from-repos.yaml | |
with: | |
repos: ros-desktop-full | |
depends: ros-desktop | |
ros-manipulation: | |
if: success() || failure() # can get cancelled | |
needs: ros-desktop-full | |
uses: ./.github/workflows/debs-from-repos.yaml | |
with: | |
repos: ros-manipulation | |
depends: ros-desktop-full | |
universe-0: | |
if: success() || failure() # can get cancelled | |
needs: ros-manipulation | |
uses: ./.github/workflows/debs-from-repos.yaml | |
with: | |
repos: universe-0 | |
depends: ros-manipulation | |
universe-1: | |
if: success() || failure() # can get cancelled | |
needs: universe-0 | |
uses: ./.github/workflows/debs-from-repos.yaml | |
with: | |
repos: universe-1 | |
depends: universe-0 | |
universe-2: | |
if: success() || failure() # can get cancelled | |
needs: universe-1 | |
uses: ./.github/workflows/debs-from-repos.yaml | |
with: | |
repos: universe-2 | |
depends: universe-1 | |
deploy: | |
needs: universe-2 | |
if: success() || failure() # can get cancelled | |
runs-on: ubuntu-22.04 | |
env: | |
ROS_DISTRO: one | |
DEB_DISTRO: jammy | |
steps: | |
- name: get apt packages from last job | |
uses: actions/cache/restore@v4 | |
with: | |
path: /home/runner/apt_repo | |
key: apt-repo-${{ env.DEB_DISTRO }}-${{ env.ROS_DISTRO }}-universe-2-${{ github.sha }} | |
- uses: v4hn/ros-deb-builder-action/deploy@rosotest | |
if: always() | |
with: | |
BRANCH: ${{ env.DEB_DISTRO }}-${{ env.ROS_DISTRO }}-unstable | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SQUASH_HISTORY: true |