Skip to content

Commit

Permalink
Revert "provide DEB_DISTRO parameter more prominently"
Browse files Browse the repository at this point in the history
This reverts commit 79a52dc.
  • Loading branch information
v4hn committed Aug 29, 2024
1 parent 79a52dc commit e2c5957
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
schedule:
- cron: '13 1 * * 2,6'

env:
ROS_DISTRO: one
DEB_DISTRO: jammy

jobs:
ros-robot:
uses: ./.github/workflows/debs-from-repos.yaml
Expand Down Expand Up @@ -57,6 +53,9 @@ jobs:
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
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/debs-from-repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,25 @@ on:
depends:
type: string

# json use example:
# test:
# needs: build
# strategy:
# matrix:
# include:
# - ${{ fromjson(inputs.build-config) }}
# runs-on: ubuntu-latest
# steps:
# - run: echo "$MATRIX"
# env:
# MATRIX: ${{ tojson(matrix) }}

jobs:
build:
runs-on: ubuntu-22.04
env:
ROS_DISTRO: one
DEB_DISTRO: jammy
CCACHE_PATH: /home/runner/.cache/ccache
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 10
steps:
Expand Down

0 comments on commit e2c5957

Please sign in to comment.