This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new caf397dacc2 workflows/build.yml: Fix related to prolonged use of the
msys2 job
caf397dacc2 is described below
commit caf397dacc20e878e751e233a9b096083ff594dd
Author: simbit18 <[email protected]>
AuthorDate: Sun Oct 11 16:06:40 2026 +0200
workflows/build.yml: Fix related to prolonged use of the msys2 job
To prevent the job from using the Windows Runner Image for an extended
period (6 hours), the temporary solution is to:
- Use the previous setup-msys2 (GitHub Action to set up MSYS2).
https://github.com/msys2/setup-msys2
- Add the maximum number of minutes that the `msys2` job can run before
GitHub automatically terminates it.
GitHub Actions timeout
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes
Signed-off-by: simbit18 <[email protected]>
---
.github/workflows/build.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2cbe7b8251c..f718d7f62e0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -534,6 +534,7 @@ jobs:
needs: msys2-Arch
if: ${{ needs.msys2-Arch.outputs.skip_all_builds != '1' }}
runs-on: windows-latest
+ timeout-minutes: 60
strategy:
fail-fast: false
max-parallel: 1
@@ -545,7 +546,7 @@ jobs:
shell: msys2 {0}
steps:
- uses: actions/checkout@v7
- - uses: msys2/setup-msys2@v2
+ - uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 #
v2.32.0
with:
msystem: MSYS
update: false