Skip to content
This repository was archived by the owner on Jan 3, 2022. It is now read-only.

Commit 7d0b75c

Browse files
committed
2 parents 3a89de8 + 4c3966b commit 7d0b75c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,21 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v1
14+
- run: |
15+
mkdir -p ~/test
16+
cp ./index.js ~/test/index.js
1417
- uses: ./
1518
id: b64
1619
with:
17-
filePath: ./index.js
20+
filePath: ~/test/index.js
1821
- run: |
1922
B64=$(cat ./index.js | base64 -w0)
2023
echo "${{steps.b64.outputs.base64}}"
2124
echo "$B64"
2225
if [ "${{steps.b64.outputs.base64}}" = "$B64" ]; then
26+
echo "Base64 match"
2327
exit
2428
else
29+
echo "Base64 does not match"
2530
exit 1
26-
fi
31+
fi

0 commit comments

Comments
 (0)