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

cederom pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


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

commit ba47d6cffd11428968aa0d8f2e001df5ab1099d0
Author: simbit18 <[email protected]>
AuthorDate: Sun Oct 11 16:58:44 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 setup 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 50ac993e1..74ccdd6a6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -512,6 +512,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
@@ -523,7 +524,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