Skip to content

Commit f98c9ec

Browse files
workflows: fetch submodules with actions/checkout
1 parent ab4a633 commit f98c9ec

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
matrix: ${{ steps.set-matrix.outputs.matrix }}
1919
steps:
2020
- uses: actions/checkout@v3
21+
with:
22+
submodules: recursive
2123
- name: Generate Matrix JSON
2224
id: set-matrix
2325
run: echo "matrix=$( python3 gen_data/gen-suite-matrix.py )" >> $GITHUB_OUTPUT
@@ -38,11 +40,6 @@ jobs:
3840
sudo apt-get update
3941
sudo apt-get install git build-essential binfmt-support qemu-user-static debootstrap -y
4042
41-
- name: 📥 Download Submodules
42-
run: |
43-
git submodule init
44-
git submodule update
45-
4643
- name: 🛠️ Build ${{ matrix.suite }}-${{ matrix.variant }}-${{ matrix.architecture }}
4744
run: sudo bash build.sh -s ${{ matrix.suite }} -v ${{ matrix.variant }} -a ${{ matrix.architecture }}
4845

@@ -96,8 +93,6 @@ jobs:
9693

9794
- name: ⚙️ Generate New distro-data.json
9895
run: sudo python3 gen_data/gen-update-json.py --release-tag ${{ env.VERSIONTAG }}
99-
100-
- run: git pull -v --rebase
10196

10297
- name: ⚙️ Update distro-data.json
10398
uses: stefanzweifel/git-auto-commit-action@v4

0 commit comments

Comments
 (0)