Skip to content

Commit

Permalink
provide DEB_DISTRO parameter more prominently
Browse files Browse the repository at this point in the history
  • Loading branch information
v4hn committed Aug 29, 2024
1 parent 8bfd2cd commit 79a52dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ 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 @@ -53,9 +57,6 @@ 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: 0 additions & 15 deletions .github/workflows/debs-from-repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,10 @@ 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 79a52dc

Please sign in to comment.