Skip to content

Commit 1a410cf

Browse files
authored
run on pr
1 parent 1087689 commit 1a410cf

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
name: Cache Forensics Extractor
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
cache_entries:
7-
description: 'Cache entries (JSON array format)'
8-
required: true
9-
type: string
10-
default: '[ {"key": "n71Gg/JormzoitmBpVjBCZCcL6Y=","version": "0c867ee6264758fbca938e6c6d38a3160cb478f2770da2f831e22e4c9e3720d8"}, {"key": "PFxRDTsQC2CBRTRk3TMxWNYXnd0=","version": "4793076103aa823b0a4c97942d7385d4346f77a3c30a0bad6e0f1d748becbab5"} ]'
11-
4+
pull_request:
5+
branches: [d-niu-cache-forensics]
126
jobs:
137
extract-cache:
148
runs-on: ubuntu-latest
@@ -25,7 +19,7 @@ jobs:
2519
id: parse
2620
run: |
2721
echo 'entries<<EOF' >> $GITHUB_OUTPUT
28-
echo '${{ inputs.cache_entries }}' | jq -c '.[]' >> $GITHUB_OUTPUT
22+
echo '[ {"key": "n71Gg/JormzoitmBpVjBCZCcL6Y=","version": "0c867ee6264758fbca938e6c6d38a3160cb478f2770da2f831e22e4c9e3720d8"}, {"key": "PFxRDTsQC2CBRTRk3TMxWNYXnd0=","version": "4793076103aa823b0a4c97942d7385d4346f77a3c30a0bad6e0f1d748becbab5"} ]' | jq -c '.[]' >> $GITHUB_OUTPUT
2923
echo 'EOF' >> $GITHUB_OUTPUT
3024
3125
- name: Extract caches

0 commit comments

Comments
 (0)