Skip to content

Commit

Permalink
Update build-v04.yml
Browse files Browse the repository at this point in the history
fix the error that ls cannot read the directory
  • Loading branch information
Mizumo-prjkt authored Nov 20, 2024
1 parent 42a7604 commit f7fb01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-v04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ jobs:
- name: Measuring the File by release and things
id: set-vars
run: |
FSIZE=$(ls -lha rel/ | tail -n +2 | grep -v '^d' | awk '{print $5}' | sed 's/^ *//;s/ *$//')
FSIZE=$(ls -lha rel/* | tail -n +2 | grep -v '^d' | awk '{print $5}' | sed 's/^ *//;s/ *$//')
CSUM=$(sha256sum rel/)
echo "::set-output name=sha256::$CSUM"
echo "::set-output name=filesize::$FSIZE"
Expand Down

0 comments on commit f7fb01f

Please sign in to comment.