Skip to content

Commit 3d2e31d

Browse files
committed
[#88007] Install jq, try to decrypt key
1 parent e86822f commit 3d2e31d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,17 @@ jobs:
1515
- run: df -h .
1616
- run: df -h /mnt/aux
1717
- run: ls -alh /mnt/aux
18+
- run: |
19+
dnf install wget
20+
wget --version
21+
mkdir -p jq
22+
wget --progress=dot:mega https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-amd64 -O jq/jq
23+
chmod +x jq/jq
24+
export PATH=$PWD/jq:$PATH
25+
echo "$KEYS"
26+
export HASH="$(echo lorem_ipsum.age | sha256sum | awk '{print $1}')"
27+
echo $HASH
28+
echo "$KEYS" | jq -r .\"$HASH\"
29+
echo "$KEYS" | jq -r .\"$HASH\" | base64 -d
1830
- run: _secret_custom_get_tools_v2
1931
- run: ls -lah .

0 commit comments

Comments
 (0)