Skip to content

feat: preserve source information in release.json artifacts #132

feat: preserve source information in release.json artifacts

feat: preserve source information in release.json artifacts #132

on:
pull_request:
name: Check 3rd Party
jobs:
matrix:
runs-on: ubuntu-latest
outputs:
targets: ${{ steps.set-matrix.outputs.targets }}
steps:
- uses: actions/checkout@v4
- id: set-matrix
run: |
TARGETS=$(find . -type f -name "*.yml" | sed "s|^\./||" | grep -v workflow-templates/header.yml | jq -R -s -c 'split("\n")[:-1]')
echo "targets=$TARGETS" >> $GITHUB_OUTPUT
check:
needs: [ matrix ]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
file: ${{ fromJSON(needs.matrix.outputs.targets) }}
name: ${{ matrix.file }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/render-templates
- name: Run check
env:
FILE: ${{ matrix.file }}
run: ./scripts/check-3rd-party.sh $FILE