This is an automated email from the ASF dual-hosted git repository.

simbit18 pushed a commit to branch releases/13.1
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/releases/13.1 by this push:
     new 99353adb044 workflows/build.yml: Fix related to prolonged use of the 
msys2 job
99353adb044 is described below

commit 99353adb044655b0549afcecd236e5740757e903
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 babb9f8f83d..9f54183406e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -541,6 +541,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
@@ -552,7 +553,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

Reply via email to