We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5cfe5f commit aff10eeCopy full SHA for aff10ee
1 file changed
.github/workflows/release.yml
@@ -35,13 +35,13 @@ jobs:
35
uses: actions/checkout@v4
36
37
- name: Clone private source
38
- uses: actions/checkout@v4
39
- with:
40
- repository: yijunyu/precc
41
- ref: slice-linux-kernel
42
- token: ${{ secrets.PRIVATE_SOURCE_TOKEN }}
43
- path: precc-src
44
- fetch-depth: 1
+ env:
+ TOKEN: ${{ secrets.PRIVATE_SOURCE_TOKEN }}
+ run: |
+ git config --global url."https://${TOKEN}@github.com/".insteadOf "https://github.com/"
+ git clone --depth 1 --branch slice-linux-kernel \
+ https://github.com/yijunyu/precc.git precc-src
+ git config --global --unset url."https://${TOKEN}@github.com/".insteadOf
45
46
- name: Install system dependencies (Linux)
47
if: runner.os == 'Linux'
0 commit comments