Compare commits
1 commit
9364b5d352
...
07e91526f1
Author | SHA1 | Date | |
---|---|---|---|
07e91526f1 |
3 changed files with 4 additions and 4 deletions
|
@ -130,7 +130,7 @@ runs:
|
|||
fi
|
||||
|
||||
# Create Size Report
|
||||
"$GITHUB_ACTION_PATH/scripts/create-report.sh" report.json
|
||||
"$GITHUB_ACTION_PATH/scripts/create-report.sh" > report.json
|
||||
|
||||
# Nothing else to do
|
||||
if [ "$COMMENT" != 'true' ]; then exit 0; fi
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
|
@ -78,4 +78,4 @@ echo "{}" | jq \
|
|||
--argjson pkgs "$pkgs" \
|
||||
--argjson hmConfigs "$hmConfigs" \
|
||||
--argjson nixosConfigs "$nixosConfigs" \
|
||||
'{"packages": $pkgs, "nixosConfigurations": $nixosConfigs, "homeConfigurations": $hmConfigs}' >"${1:-/dev/stdout}"
|
||||
'{"packages": $pkgs, "nixosConfigurations": $nixosConfigs, "homeConfigurations": $hmConfigs}'
|
||||
|
|
|
@ -74,6 +74,6 @@ curl -X 'GET' \
|
|||
tar -zvx --strip-components=1 -C "$old"
|
||||
endgroup
|
||||
|
||||
(cd "$old" && "$GITHUB_ACTION_PATH/create-report.sh" old-report.json)
|
||||
(cd "$old" && "$GITHUB_ACTION_PATH/create-report.sh") >old-report.json
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue