fix b4dcd0b: $@ needed to run command...
https://github.com/vogler/free-games-claimer/actions/runs/15238732349/job/42856083012
This commit is contained in:
parent
82d39d30b6
commit
68d6122e8c
2 changed files with 4 additions and 3 deletions
5
.github/workflows/docker.yml
vendored
5
.github/workflows/docker.yml
vendored
|
|
@ -97,9 +97,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
REP=ghcr.io/${{ github.actor }}/free-games-claimer
|
REP=ghcr.io/${{ github.actor }}/free-games-claimer
|
||||||
IMG=$REP:${{env.IMAGE_TAG}}
|
IMG=$REP:${{env.IMAGE_TAG}}
|
||||||
log() { echo -e "\n\$ $*"; "$*"; }
|
log() { echo -e "\n\$ $*"; "$@"; }
|
||||||
emd() { echo "$*" | tee -a "$GITHUB_STEP_SUMMARY"; }
|
emd() { echo "$*" | tee -a "$GITHUB_STEP_SUMMARY"; }
|
||||||
cmd() { echo "\$ $*" | tee -a "$GITHUB_STEP_SUMMARY"; "$*" | tee -a "$GITHUB_STEP_SUMMARY"; }
|
cmd() { echo "\$ $*" | tee -a "$GITHUB_STEP_SUMMARY"; "$@" | tee -a "$GITHUB_STEP_SUMMARY"; }
|
||||||
emd '```console'
|
emd '```console'
|
||||||
download-size() { docker manifest inspect -v "$1" | jq -c 'if type == "array" then .[] else . end' | jq -r '[ ( .Descriptor.platform | [ .os, .architecture, .variant, ."os.version" ] | del(..|nulls) | join("/") ), ( [ ( .OCIManifest // .SchemaV2Manifest ).layers[].size ] | add ) ] | join(" ")' | numfmt --to iec --format '%.2f' --field 2 | sort | column -t ; }
|
download-size() { docker manifest inspect -v "$1" | jq -c 'if type == "array" then .[] else . end' | jq -r '[ ( .Descriptor.platform | [ .os, .architecture, .variant, ."os.version" ] | del(..|nulls) | join("/") ), ( [ ( .OCIManifest // .SchemaV2Manifest ).layers[].size ] | add ) ] | join(" ")' | numfmt --to iec --format '%.2f' --field 2 | sort | column -t ; }
|
||||||
cmd download-size "$IMG"
|
cmd download-size "$IMG"
|
||||||
|
|
@ -116,3 +116,4 @@ jobs:
|
||||||
local-size() { docker system df -v | grep "$1" -B1; }
|
local-size() { docker system df -v | grep "$1" -B1; }
|
||||||
cmd local-size "$REP"
|
cmd local-size "$REP"
|
||||||
emd '```'
|
emd '```'
|
||||||
|
continue-on-error: true
|
||||||
|
|
|
||||||
2
.github/workflows/js.yml
vendored
2
.github/workflows/js.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
||||||
- name: dep-size qnm (flat list as in node_modules)
|
- name: dep-size qnm (flat list as in node_modules)
|
||||||
run: |
|
run: |
|
||||||
emd() { echo "$*" | tee -a "$GITHUB_STEP_SUMMARY"; }
|
emd() { echo "$*" | tee -a "$GITHUB_STEP_SUMMARY"; }
|
||||||
cmd() { echo "\$ $*" | tee -a "$GITHUB_STEP_SUMMARY"; "$*" | tee -a "$GITHUB_STEP_SUMMARY"; }
|
cmd() { echo "\$ $*" | tee -a "$GITHUB_STEP_SUMMARY"; "$@" | tee -a "$GITHUB_STEP_SUMMARY"; }
|
||||||
emd '```console'
|
emd '```console'
|
||||||
cmd bunx --yes qnm doctor
|
cmd bunx --yes qnm doctor
|
||||||
emd '```'
|
emd '```'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue