Skip to content

Thoroughly confused #24

Thoroughly confused

Thoroughly confused #24

name: Custom Images CI
on:
push:
branches:
- master
paths:
- 'custom-images/**'
- '.github/workflows/custom-containers-run-ci.yaml'
- '!custom-images/docs/**'
jobs:
find-out-changes:
runs-on: ubuntu-latest
outputs:
changed_directories: ${{ steps.set-output.outputs.changed_directories }}
steps:

Check failure on line 17 in .github/workflows/custom-containers-run-ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/custom-containers-run-ci.yaml

Invalid workflow file

You have an error in your yaml syntax on line 17
- uses: actions/checkout@v3
- name: Get image version
run: |
source ${{ matrix.dir }}/config.env
echo "VERSION=$IMAGE_TAG" >> $GITHUB_ENV
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v42.0.7
with:
dir_names: true
json: true
quotepath: false
dir_names_exclude_current_dir: true
files: |
custom-images/**
!custom-images/docs/**
- name: 'Set output in the matrix format'
id: set-output
run: echo "changed_directories={\"dir\":${{ steps.changed-files.outputs.all_changed_files }}}" >> "$GITHUB_OUTPUT"