Skip to content

Commit

Permalink
Use tj-actions/changed-files
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Oct 7, 2024
1 parent a09d1ba commit d4ac871
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/check-image-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ jobs:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v14
- uses: DeterminateSystems/magic-nix-cache-action@v8
- id: files
uses: jitterbit/get-changed-files@v1
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
- run: |
echo "Changed files: ${{ steps.changed-files.outputs.all_changed_files }}"
- name: Check image metadata
run: |
nix develop --command nu check-image-metadata.nu ${{ steps.files.outputs.all }}
nix develop --command nu check-image-metadata.nu ${{ steps.changed-files.outputs.all_changed_files }}

0 comments on commit d4ac871

Please sign in to comment.