mirror of https://github.com/ARMmbed/mbed-os.git
github action: update checkout to v3
See https://github.com/actions/checkout/pull/762 Our tests are failing as checkout is not working (no git repository found)pull/15270/head
parent
56f4b4cd29
commit
8a59067c1b
|
@ -17,7 +17,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
@ -60,7 +60,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
@ -81,7 +81,7 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
@ -111,7 +111,7 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
@ -155,7 +155,7 @@ jobs:
|
|||
steps:
|
||||
-
|
||||
name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
|
||||
- uses: actions/setup-python@v2
|
||||
|
@ -184,7 +184,7 @@ jobs:
|
|||
steps:
|
||||
-
|
||||
name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
@ -210,7 +210,7 @@ jobs:
|
|||
steps:
|
||||
-
|
||||
name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
-
|
||||
name: cmake build
|
||||
|
@ -237,7 +237,7 @@ jobs:
|
|||
steps:
|
||||
-
|
||||
name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
@ -117,7 +117,7 @@ jobs:
|
|||
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
-
|
||||
name: Build docker containers
|
||||
|
@ -164,7 +164,7 @@ jobs:
|
|||
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
-
|
||||
name: Find DEV DOCKER DIGEST
|
||||
|
@ -178,7 +178,7 @@ jobs:
|
|||
# development branch of blinky
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ARMmbed/mbed-os-example-blinky
|
||||
path: mbed-os-example-blinky
|
||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
-
|
||||
name: Delete old temporary images
|
||||
|
@ -22,4 +22,4 @@ jobs:
|
|||
# deletion if only one image exists or if DOCKER_MANAGEMENT_TOKEN is not
|
||||
# setup. This shouldn't create any alarm as temporary image deletion is
|
||||
# not a critical activity.
|
||||
python ./.github/workflows/ci_scripts/ghcr_utils.py -u ${{ github.repository_owner }} -p ${{ secrets.DOCKER_MANAGEMENT_TOKEN }} delete-old-images -r mbed-os-env-tmp || true
|
||||
python ./.github/workflows/ci_scripts/ghcr_utils.py -u ${{ github.repository_owner }} -p ${{ secrets.DOCKER_MANAGEMENT_TOKEN }} delete-old-images -r mbed-os-env-tmp || true
|
||||
|
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
@ -134,7 +134,7 @@ jobs:
|
|||
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: refs/tags/${{ steps.build_info.outputs.MBED_OS_VERSION }}
|
||||
|
||||
|
@ -198,7 +198,7 @@ jobs:
|
|||
# development branch of blinky
|
||||
-
|
||||
name: Checkout example blinky
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ARMmbed/mbed-os-example-blinky
|
||||
path: mbed-os-example-blinky
|
||||
|
@ -224,7 +224,7 @@ jobs:
|
|||
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: refs/tags/${{ steps.build_info.outputs.MBED_OS_VERSION }}
|
||||
path: mbed-os-example-blinky/mbed-os
|
||||
|
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
# for PR tests, development branch of blinky is used
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ARMmbed/mbed-os-example-blinky
|
||||
path: mbed-os-example-blinky
|
||||
|
@ -49,7 +49,7 @@ jobs:
|
|||
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: mbed-os-example-blinky/mbed-os
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ jobs:
|
|||
container: ghcr.io/armmbed/mbed-os-env:master-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install the latest mbed-tools
|
||||
run: |
|
||||
|
|
|
@ -7,8 +7,13 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Work around https://github.com/actions/checkout/issues/766
|
||||
run: |
|
||||
cd "${GITHUB_WORKSPACE}" || exit 1
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Python environment
|
||||
uses: actions/setup-python@v2
|
||||
|
@ -16,7 +21,7 @@ jobs:
|
|||
python-version: 3.8
|
||||
|
||||
- name: Checkout mbed-os-scripts repo (This repo is currently private)
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ARMmbed/mbed-os-ci-scripts
|
||||
token: ${{ secrets.ISSUE_TRIAGING_PERMS }}
|
||||
|
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
container: mbedos/mbed-os-env:latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: mbed-os
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ jobs:
|
|||
container: ghcr.io/armmbed/mbed-os-env:master-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build the multiple_executables example
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue