mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
CI: Move fetch of tags back to source stage now that cache is faster
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
This commit is contained in:
committed by
Xiang Xiao
parent
7c83c63d8e
commit
74aec1c424
@@ -89,6 +89,8 @@ jobs:
|
|||||||
ref: ${{ steps.gittargets.outputs.os_ref }}
|
ref: ${{ steps.gittargets.outputs.os_ref }}
|
||||||
path: sources/nuttx
|
path: sources/nuttx
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
- name: Checkout nuttx repo tags
|
||||||
|
run: git -C sources/nuttx fetch --tags
|
||||||
|
|
||||||
- name: Checkout apps repo
|
- name: Checkout apps repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -168,15 +170,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Export NuttX Repo SHA
|
- name: Export NuttX Repo SHA
|
||||||
run: echo "::set-env name=nuttx_sha::`git -C sources/nuttx rev-parse HEAD`"
|
run: echo "::set-env name=nuttx_sha::`git -C sources/nuttx rev-parse HEAD`"
|
||||||
- name: Refresh Git Credentials
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: apache/incubator-nuttx
|
|
||||||
ref: ${{ env.nuttx_sha }}
|
|
||||||
path: sources/nuttx
|
|
||||||
fetch-depth: 1
|
|
||||||
- name: Get Tags for NuttX Repo
|
|
||||||
run: git -C sources/nuttx fetch --tags
|
|
||||||
- name: Run builds
|
- name: Run builds
|
||||||
uses: ./sources/testing/.github/actions/ci-container
|
uses: ./sources/testing/.github/actions/ci-container
|
||||||
env:
|
env:
|
||||||
@@ -224,15 +217,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Export NuttX Repo SHA
|
- name: Export NuttX Repo SHA
|
||||||
run: echo "::set-env name=nuttx_sha::`git -C sources/nuttx rev-parse HEAD`"
|
run: echo "::set-env name=nuttx_sha::`git -C sources/nuttx rev-parse HEAD`"
|
||||||
- name: Refresh Git Credentials
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: apache/incubator-nuttx
|
|
||||||
ref: ${{ env.nuttx_sha }}
|
|
||||||
path: sources/nuttx
|
|
||||||
fetch-depth: 1
|
|
||||||
- name: Get Tags for NuttX Repo
|
|
||||||
run: git -C sources/nuttx fetch --tags
|
|
||||||
- name: Run Builds
|
- name: Run Builds
|
||||||
run: |
|
run: |
|
||||||
echo "::add-matcher::sources/nuttx/.github/gcc.json"
|
echo "::add-matcher::sources/nuttx/.github/gcc.json"
|
||||||
|
|||||||
Reference in New Issue
Block a user