Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
Update UniversalUpload.yml to pass changed files as an argument to Mo…
Browse files Browse the repository at this point in the history
…dIdFinder.sh
  • Loading branch information
ari-steas authored May 15, 2024
1 parent 3b7c77c commit 6122373
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/UniversalUpload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,21 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/[email protected]
- id: set-matrix
run: bash ModIdFinder.sh >> $GITHUB_OUTPUT

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
with:
path: ${{ matrix.path }}

- name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done
#- name: List all changed files
# env:
# ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
# run: |
# for file in ${ALL_CHANGED_FILES}; do
# echo "$file was changed"
# done

- id: set-matrix
run: bash ModIdFinder.sh ${{ steps.changed-files.outputs.all_changed_files }} >> $GITHUB_OUTPUT

workshop-upload:
needs: setup
Expand Down

0 comments on commit 6122373

Please sign in to comment.