Skip to content

Commit

Permalink
use GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely committed Mar 29, 2024
1 parent 503a38f commit b61ae1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs:
run: |
dockerfiles=$(ls -l *.d | grep '^-' | awk -F ' ' '{print $9}' | jq -R -s -c 'split("\n") | map(select(length > 0))')
echo "dockerfiles=$dockerfiles"
echo "::set-output name=matrix::$dockerfiles"
# echo "name=matrix::$dockerfiles" >> $GITHUB_OUTPUT
# dockerfiles is an array of filename
# echo "::set-output name=matrix::$dockerfiles"
echo "matrix::$dockerfiles" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v4
with:
name: artifact-dockerfiles
Expand Down

0 comments on commit b61ae1a

Please sign in to comment.