Updated to collect dpkg.log and verify installed files. Also, search for package name that contains installed files. #49
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: Validate Artifacts | |
on: | |
pull_request: | |
branches: | |
- develop | |
- main | |
paths: | |
- 'artifacts/**' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
validate-artifact-files: | |
name: Validate Artifacts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone uac repo | |
uses: actions/checkout@v4 | |
with: | |
path: uac | |
- name: Validate Artifacts | |
working-directory: uac | |
run: | | |
find artifacts/* -name "*.yaml" -type f \ | |
| while read file || [ -n "${file}" ]; do | |
./uac --validate-artifact "${file}" | |
done |