gh-actions: ci: quote envvars
[m6w6/ext-http] / scripts / gen_github_workflow_ci.php
index 7cb18f255fc7293cb2555e3ee03dd1f8d6ffe86f..384ff6687b5f414537e4f96a5901d88e7287d493 100755 (executable)
@@ -58,12 +58,14 @@ foreach ($job as $id => $env) {
     }
     printf("    env:\n");
     foreach ($env as $key => $val) {
-        printf("      %s: %s\n", $key, $val);
+        printf("      %s: \"%s\"\n", $key, $val);
     }
 ?>
+    runs-on: ubuntu-20.04
     steps:
       - uses: actions/checkout@v2
-        submodules: true
+        with:
+          submodules: true
       - name: Install
         run: |
           sudo apt-get install -y \