fix(action): 加入 OAuth token 安全除錯資訊
This commit is contained in:
@@ -24,6 +24,11 @@ runs:
|
|||||||
mkdir -p "$oauth_dir"
|
mkdir -p "$oauth_dir"
|
||||||
printf '%s' "$OAUTH" | base64 -d > "$oauth_file"
|
printf '%s' "$OAUTH" | base64 -d > "$oauth_file"
|
||||||
chmod 600 "$oauth_file"
|
chmod 600 "$oauth_file"
|
||||||
|
test -s "$oauth_file"
|
||||||
|
echo "::group::Antigravity OAuth debug"
|
||||||
|
stat -c 'oauth_file_mode=%a oauth_file_size=%s' "$oauth_file"
|
||||||
|
sha256sum "$oauth_file" | awk '{ print "oauth_file_sha256=" $1 }'
|
||||||
|
echo "::endgroup::"
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: 執行工具
|
- name: 執行工具
|
||||||
id: antigravity
|
id: antigravity
|
||||||
|
|||||||
Reference in New Issue
Block a user