mirror of
https://github.com/julia-actions/cache.git
synced 2026-02-12 01:16:54 +08:00
Experiment with access logs during execution
This commit is contained in:
11
.github/workflows/ReusableWorkflow.yml
vendored
11
.github/workflows/ReusableWorkflow.yml
vendored
@@ -35,3 +35,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: reusable-context
|
name: reusable-context
|
||||||
path: "*.json"
|
path: "*.json"
|
||||||
|
- run: |
|
||||||
|
set -x
|
||||||
|
uuid="$(cat /proc/sys/kernel/random/uuid)"
|
||||||
|
echo "$uuid"
|
||||||
|
gh api "/repos/{owner}/{repo}/actions/runs/${run_id}/logs" >logs.zip
|
||||||
|
unzip logs.zip
|
||||||
|
find .
|
||||||
|
grep -rnH ReusableWorkflow.yml .
|
||||||
|
grep -rnH "$uuid" .
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
|||||||
Reference in New Issue
Block a user