mirror of
https://github.com/wiiu-env/wudd.git
synced 2024-11-22 09:59:16 +01:00
Update workflows to not pull submodules anymore
This commit is contained in:
parent
4b5a1eca5f
commit
a53b47f2b8
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -18,13 +18,6 @@ jobs:
|
|||||||
needs: clang-format
|
needs: clang-format
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Checkout submodules using a PAT
|
|
||||||
run: |
|
|
||||||
git config --file .gitmodules --get-regexp url | while read url; do
|
|
||||||
git config --file=.gitmodules $(echo "$url" | sed -E "s/git@github.com:|https:\/\/github.com\//https:\/\/${{ secrets.CI_PAT }}:${{ secrets.CI_PAT }}@github.com\//")
|
|
||||||
done
|
|
||||||
git submodule sync
|
|
||||||
git submodule update --init --recursive
|
|
||||||
- name: build binary
|
- name: build binary
|
||||||
run: |
|
run: |
|
||||||
docker build . -t builder
|
docker build . -t builder
|
||||||
|
7
.github/workflows/pr.yml
vendored
7
.github/workflows/pr.yml
vendored
@ -26,13 +26,6 @@ jobs:
|
|||||||
needs: clang-format
|
needs: clang-format
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Checkout submodules using a PAT
|
|
||||||
run: |
|
|
||||||
git config --file .gitmodules --get-regexp url | while read url; do
|
|
||||||
git config --file=.gitmodules $(echo "$url" | sed -E "s/git@github.com:|https:\/\/github.com\//https:\/\/${{ secrets.CI_PAT }}:${{ secrets.CI_PAT }}@github.com\//")
|
|
||||||
done
|
|
||||||
git submodule sync
|
|
||||||
git submodule update --init --recursive
|
|
||||||
- name: build binary
|
- name: build binary
|
||||||
run: |
|
run: |
|
||||||
docker build . -t builder
|
docker build . -t builder
|
||||||
|
Loading…
Reference in New Issue
Block a user