Browse Source

ci: improve step names

Improves readability and informativeness.

PR: #515
xmkb
innovaker 4 years ago committed by Pete Johanson
parent
commit
78acd7610e
  1. 10
      .github/workflows/build.yml
  2. 8
      .github/workflows/test.yml

10
.github/workflows/build.yml

@ -82,11 +82,11 @@ jobs:
4-${{ runner.os }}- 4-${{ runner.os }}-
timeout-minutes: 2 timeout-minutes: 2
continue-on-error: true continue-on-error: true
- name: West init - name: Initialize workspace (west init)
run: west init -l app run: west init -l app
- name: West update - name: Update modules (west update)
run: west update run: west update
- name: West Zephyr export - name: Export Zephyr CMake package (west zephyr-export)
run: west zephyr-export run: west zephyr-export
- name: Prepare variables - name: Prepare variables
id: variables id: variables
@ -103,9 +103,9 @@ jobs:
echo ::set-output name=shield-arg::${SHIELD_ARG} echo ::set-output name=shield-arg::${SHIELD_ARG}
echo ::set-output name=artifact-name::${ARTIFACT_NAME} echo ::set-output name=artifact-name::${ARTIFACT_NAME}
- name: West build - name: Build (west build)
run: west build -s app -b ${{ matrix.board }} -- ${{ steps.variables.outputs.shield-arg }} run: west build -s app -b ${{ matrix.board }} -- ${{ steps.variables.outputs.shield-arg }}
- name: Archive build - name: Archive artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: "${{ steps.variables.outputs.artifact-name }}" name: "${{ steps.variables.outputs.artifact-name }}"

8
.github/workflows/test.yml

@ -37,15 +37,15 @@ jobs:
4-${{ runner.os }}- 4-${{ runner.os }}-
timeout-minutes: 2 timeout-minutes: 2
continue-on-error: true continue-on-error: true
- name: West init - name: Initialize workspace (west init)
run: west init -l app run: west init -l app
- name: West update - name: Update modules (west update)
run: west update run: west update
- name: West Zephyr export - name: Export Zephyr CMake package (west zephyr-export)
run: west zephyr-export run: west zephyr-export
- name: Test all - name: Test all
run: west test run: west test
- name: Archive build - name: Archive artifacts
if: ${{ always() }} if: ${{ always() }}
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

Loading…
Cancel
Save