Skip to content

Commit 8a30551

Browse files
committed
test
1 parent cf08c61 commit 8a30551

1 file changed

Lines changed: 2 additions & 29 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,11 @@ name: test
44

55
jobs:
66
no-secrets:
7-
container: debian:trixie
7+
container: centos:8
88
runs-on: [self-hosted, Linux, X64]
99

1010
steps:
11-
- run: apt-get -qqy --update install git nodejs >/dev/null 2>&1
1211
- name: test
1312
env:
1413
INPUT_TOKEN: ${{ github.token }}
15-
run: |
16-
INDEX_SHA256=6769d238b2e76faece94dd5fcd4f5c737b0e8d2480c4a8a9db21761b7ec52321
17-
CHECKOUT_REV=08eba0b27e820071cde6df949e0beb9ba4906955
18-
19-
mkdir -p /tmp/checkout
20-
pushd /tmp/checkout
21-
22-
git init
23-
git remote add origin https://github.com/actions/checkout.git
24-
git fetch origin
25-
git show "$CHECKOUT_REV:dist/index.js" > /tmp/index.js
26-
27-
if ! [ "$(sha256sum /tmp/index.js | cut -d' ' -f1)" = "$INDEX_SHA256" ]; then
28-
echo "Checksum mismatch!" 1>&2
29-
fi
30-
popd
31-
32-
node /tmp/index.js | grep -v add-matcher
33-
34-
if [ "$GITHUB_TOKEN" ]; then echo TEST; fi
35-
36-
if ver=$(cat ".github/scripts/secrets_version"); then
37-
echo "SECRETS_VERSION=$ver" >> "$GITHUB_ENV"
38-
fi
39-
40-
env
41-
- run: cat out_err.sh
14+
run: _secret_custom_checkout

0 commit comments

Comments
 (0)