Skip to content

Commit 502af29

Browse files
authored
[action/workflow] fix action warning and fix manual trigger (#44)
1 parent f05f344 commit 502af29

12 files changed

Lines changed: 18 additions & 18 deletions

.github/workflows/action_runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: [self-hosted, windows, x64]
4040
name: ${{ github.event.inputs.bsp_options }}
4141
steps:
42-
- uses: actions/checkout@v3
42+
- uses: actions/checkout@main
4343
- name: Bsp Scons Compile
4444
if: ${{ success() }}
4545
env:

.github/workflows/action_tools.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
env:
4343
TEST_BSP_ROOT: bsp/stm32/stm32f407-atk-explorer
4444
steps:
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@main
4646

4747
- name: Install Tools
4848
shell: bash

.github/workflows/action_utest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
TEST_CONFIG_FILE: ${{ matrix.legs.CONFIG_FILE }}
5757
TEST_SD_FILE: ${{ matrix.legs.SD_FILE }}
5858
steps:
59-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@main
6060

6161
- name: Install Tools
6262
shell: bash

.github/workflows/bsp_buildings.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
filtered_matrix: ${{ steps.filter.outputs.filtered_matrix }}
4646
steps:
4747
- name: Checkout repo
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@main
4949
with:
5050
sparse-checkout: .github/ALL_BSP_COMPILE.json
5151
persist-credentials: false
@@ -106,7 +106,7 @@ jobs:
106106
fail-fast: false
107107
matrix: ${{ fromJson(needs.generate-matrix.outputs.filtered_matrix) }}
108108
steps:
109-
- uses: actions/checkout@v4
109+
- uses: actions/checkout@main
110110
- name: Set up Python
111111
uses: actions/setup-python@main
112112
with:

.github/workflows/compile_bsp_with_drivers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
name: BSP Compilation with More Drivers
2525

2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@main
2828
- name: Set up Python
2929
uses: actions/setup-python@v3
3030
with:

.github/workflows/manual_bsp_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ jobs:
5454
runs-on: ubuntu-22.04
5555
name: ${{ github.event.inputs.bsp_options }}
5656
steps:
57-
- uses: actions/checkout@v4
57+
- uses: actions/checkout@main
5858
- name: Set up Python
59-
uses: actions/setup-python@v3
59+
uses: actions/setup-python@main
6060
with:
6161
python-version: 3.8
6262

.github/workflows/manual_dist.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ jobs:
5353
runs-on: ubuntu-22.04
5454
name: ${{ github.event.inputs.bsp_options }}
5555
steps:
56-
- uses: actions/checkout@v4
56+
- uses: actions/checkout@main
5757
- name: Set up Python
58-
uses: actions/setup-python@v3
58+
uses: actions/setup-python@main
5959
with:
6060
python-version: 3.8
6161

.github/workflows/manual_trigger_scons_STM32_all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ jobs:
127127

128128

129129
steps:
130-
- uses: actions/checkout@v4
130+
- uses: actions/checkout@main
131131
- name: Set up Python
132-
uses: actions/setup-python@v3
132+
uses: actions/setup-python@main
133133
with:
134134
python-version: 3.8
135135

.github/workflows/manual_trigger_scons_except_STM32_all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ jobs:
287287
- {RTT_BSP_NAME: "nuvoton_numaker-m2354 ", RTT_TOOL_CHAIN: "sourcery-arm", RTT_BSP: "nuvoton/numaker-m2354"}
288288

289289
steps:
290-
- uses: actions/checkout@v4
290+
- uses: actions/checkout@main
291291
- name: Set up Python
292292
uses: actions/setup-python@v3
293293
with:

.github/workflows/manual_trigger_scons_fail_bsp_all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ jobs:
102102
- {RTT_BSP_NAME: "yichip_yc3122-pos", RTT_TOOL_CHAIN: "sourcery-arm", RTT_BSP: "yichip/yc3122-pos"} #编译问题
103103

104104
steps:
105-
- uses: actions/checkout@v4
105+
- uses: actions/checkout@main
106106
- name: Set up Python
107-
uses: actions/setup-python@v3
107+
uses: actions/setup-python@main
108108
with:
109109
python-version: 3.8
110110

0 commit comments

Comments
 (0)