]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Always intall moduli.
authorDarren Tucker <dtucker@dtucker.net>
Wed, 17 Feb 2021 23:05:03 +0000 (10:05 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Wed, 17 Feb 2021 23:05:03 +0000 (10:05 +1100)
Allows us to run tests without falling back to a fixed modulus.  Ensure that
the directory exists.

.github/workflows/c-cpp.yml
.github/workflows/selfhosted.yml

index ca47ff6eeb240f3246e4c511cd4943179864ec42..7f276e5d57bb71191ca47b1a7fe72f18bf9a7e18 100644 (file)
@@ -38,8 +38,8 @@ jobs:
       run: ./.github/configure.sh ${{ matrix.configs }}
     - name: make
       run: make -j2
-    - name: copy moduli
-      run: sudo cp moduli /usr/local/etc/
+    - name: install moduli
+      run: sudo sh -c "mkdir -p /usr/local/etc/; cp moduli /usr/local/etc/"
     - name: make tests
       run: ./.github/run_test.sh ${{ matrix.configs }}
       env:
index 637ce959f1a156843e8f80ade6c5d802e4bfef67..2f76dfdf5fed20ce0412bdd319330efdc97c499d 100644 (file)
@@ -49,6 +49,8 @@ jobs:
           config.log
     - name: make
       run: vmrun make
+    - name: install moduli
+      run: sudo sh -c "mkdir -p /usr/local/etc/; cp moduli /usr/local/etc/"
     - name: make tests
       run: vmrun ./.github/run_test.sh ${{ matrix.configs }}
     - name: save regress logs