Skip to content

Commit 56c4e68

Browse files
committed
try to fix submodule checkout in github actions
see: - actions/checkout#116 - actions/checkout#81
1 parent 38448de commit 56c4e68

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
env:
77
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v2.3.1
1010
- name: Checkout tags
1111
run: git fetch --unshallow origin +refs/tags/*:refs/tags/*
1212
- name: Set git branch variable
@@ -17,7 +17,6 @@ jobs:
1717
shell: bash
1818
run: |
1919
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
20-
echo $auth_header
2120
git submodule sync --recursive
2221
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
2322
- name: Build the Docker image

0 commit comments

Comments
 (0)