]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Rename debugging variable RUN_ONLY_TEST.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 23 May 2025 06:26:20 +0000 (16:26 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 23 May 2025 07:04:51 +0000 (17:04 +1000)
to RUN_ONLY_TARGET_CONFIG to make it more obvious what it matches.

.github/workflows/c-cpp.yml

index 887d54af210234f77eb75fe2173373a899787886..43380df420881ab34aafd50b8814cb765c65cfca 100644 (file)
@@ -111,12 +111,12 @@ jobs:
           - { target: macos-15, config: pam }
     runs-on: ${{ matrix.target }}
     steps:
-    - name: check RUN_ONLY_TEST
-      # For testing, you can set the repo variable RUN_ONLY_TEST in your repo
-      # (Repo -> Settings -> Security -> Actions -> Variables) to run only
-      # that test config.
-      if: vars.RUN_ONLY_TEST != ''
-      run: sh -c 'if [ "${{ vars.RUN_ONLY_TEST }}" != "${{ matrix.target }} ${{matrix.config }}" ]; then exit 1; else exit 0; fi'
+    - name: check RUN_ONLY_TARGET_CONFIG
+      # For testing, you can set the repo variable RUN_ONLY_TARGET_CONFIG in
+      # your repo (Repo -> Settings -> Security -> Actions -> Variables) to
+      # run only that test config, eg "ubuntu-latest default".
+      if: vars.RUN_ONLY_TARGET_CONFIG != ''
+      run: sh -c 'if [ "${{ vars.RUN_ONLY_TARGET_CONFIG }}" != "${{ matrix.target }} ${{matrix.config }}" ]; then exit 1; else exit 0; fi'
     - name: set cygwin git params
       if: ${{ startsWith(matrix.target, 'windows') }}
       run: git config --global core.autocrlf input