Skip to content

Commit

Permalink
chore: fix github action warning
Browse files Browse the repository at this point in the history
Use the same solution that was implemented for core contracts.

Resolves: #636
  • Loading branch information
gitcoindev authored and molecula451 committed Sep 28, 2023
1 parent eb5604d commit 9e781b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/diamond-storage-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
working-directory: packages/contracts
run: |
forge tree | grep -E '^src/dollar/libraries/Lib' | cut -d' ' -f1 | xargs basename -a | cut -d'.' -f1 | xargs -I{} echo src/dollar/libraries/{}.sol:{} >> contracts.txt
echo "::set-output name=matrix::$(cat contracts.txt | jq -R -s -c 'split("\n")[:-1]')"
echo "matrix=$(cat contracts.txt | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand Down

0 comments on commit 9e781b7

Please sign in to comment.