Skip to content

Commit 169f6f8

Browse files
committed
??
1 parent 02ad20a commit 169f6f8

1 file changed

Lines changed: 23 additions & 18 deletions

File tree

.github/workflows/matrix.yml

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,45 @@ on:
55
- '🙄'
66

77
permissions:
8+
actions: read
89
contents: read
910

1011
jobs:
11-
build:
12-
name: Build git
13-
runs-on: ubuntu-latest
14-
steps:
15-
- run: |
16-
sudo sed -i -e 's/Types: deb/Types: deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources
17-
18-
sudo apt-get update
19-
sudo apt-get build-dep git
20-
git clone --depth=1 --branch=v2.53.0 https://github.com/git/git
21-
cd git
22-
make
23-
- uses: actions/upload-artifact@v7
24-
with:
25-
name: git
26-
path: git/git
27-
retention-days: 1
12+
# build:
13+
# name: Build git
14+
# runs-on: ubuntu-latest
15+
# steps:
16+
# - run: |
17+
# sudo sed -i -e 's/Types: deb/Types: deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources
18+
#
19+
# sudo apt-get update
20+
# sudo apt-get build-dep git
21+
# git clone --depth=1 --branch=v2.53.0 https://github.com/git/git
22+
# cd git
23+
# make
24+
# - uses: actions/upload-artifact@v7
25+
# with:
26+
# name: git
27+
# path: git/git
28+
# retention-days: 1
2829

2930
test:
3031
name: Test git deepen ${{ matrix.n }}
3132
runs-on: ubuntu-latest
3233
timeout-minutes: 5
33-
needs: [ build ]
34+
# needs: [ build ]
3435
strategy:
3536
matrix:
3637
n: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ]
3738
steps:
3839
- uses: actions/download-artifact@v7
3940
with:
4041
name: git
42+
run-id: 26119928835
43+
github-token: ${{ github.secret }}
4144
- run: |
45+
chmod +x git
46+
4247
function git {
4348
printf '\e[32mgit'
4449
printf ' %q' "$@"

0 commit comments

Comments
 (0)