Skip to content

Commit

Permalink
change checkout submodule to update remote recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely authored Nov 20, 2024
1 parent a66cdc2 commit 607819c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
submodules: true
- name: Git Submodule Update references
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
- name: Use Node.js
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -99,6 +104,10 @@ jobs:
with:
ref: ${{ github.ref_name }}
submodules: recursive
- name: Git Submodule Update references
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down Expand Up @@ -146,6 +155,10 @@ jobs:
with:
ref: ${{ github.ref_name }}
submodules: recursive
- name: Git Submodule Update references
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down Expand Up @@ -201,6 +214,10 @@ jobs:
with:
submodules: recursive
ref: ${{ github.ref_name }}
- name: Git Submodule Update references
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down Expand Up @@ -248,6 +265,10 @@ jobs:
with:
submodules: recursive
ref: ${{ github.ref_name }}
- name: Git Submodule Update references
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down Expand Up @@ -295,6 +316,10 @@ jobs:
with:
submodules: recursive
ref: ${{ github.ref_name }}
- name: Git Submodule Update references
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down Expand Up @@ -342,6 +367,10 @@ jobs:
with:
submodules: recursive
ref: ${{ github.ref_name }}
- name: Git Submodule Update references
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down

0 comments on commit 607819c

Please sign in to comment.