Bump gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0 in /samples/vm-service/vm #570
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
directories: | |
name: List child folders to build | |
runs-on: ubuntu-latest | |
outputs: | |
dir: ${{ steps.set-dirs.outputs.dir }} | |
steps: | |
- uses: actions/checkout@v2 | |
- id: set-dirs # Give it an id to handle to get step outputs in the outputs key above | |
run: echo "::set-output name=dir::$(ls -d samples/*/ | jq -R -s -c 'split("\n")[:-1]')" | |
build: | |
name: Build extensions | |
runs-on: ubuntu-latest | |
needs: [directories] | |
strategy: | |
matrix: | |
dir: ${{fromJson(needs.directories.outputs.dir)}} # List matrix strategy from directories dynamically | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build sample ${{ matrix.dir }} | |
run: cd ${{ matrix.dir }} ; make build-extension | |
env: | |
DOCKER_BUILDKIT: 1 |