diff --git a/.github/workflows/upload-driver-packages.yml b/.github/workflows/upload-driver-packages.yml index be2c32359d..ed8f93e5df 100644 --- a/.github/workflows/upload-driver-packages.yml +++ b/.github/workflows/upload-driver-packages.yml @@ -37,7 +37,7 @@ jobs: - name: Package the driver working-directory: ${{ matrix.driver }} run: | - zip -v ${{env.package_key}}.zip config.yml fingerprints.yml search-parameters.y*ml $(find . -name "*.crt") $(find profiles -name "*.y*ml") $(find . -name "*.lua") -x "*test*" + zip -v ${{env.package_key}}.zip config.yml fingerprints.yml search-parameters.y*ml $(find . -name "*.pem") $(find . -name "*.crt") $(find profiles -name "*.y*ml") $(find . -name "*.lua") -x "*test*" - name: Upload packaged driver artifact uses: actions/upload-artifact@v3 with: diff --git a/tools/deploy.py b/tools/deploy.py index 1011eacd7c..4b402572f1 100644 --- a/tools/deploy.py +++ b/tools/deploy.py @@ -110,7 +110,7 @@ retries = 0 while not os.path.exists(driver+".zip") and retries < 5: try: - subprocess.run(["zip -r ../"+driver+".zip config.yml fingerprints.yml search-parameters.y*ml $(find profiles -name \"*.y*ml\") $(find . -name \"*.lua\") -x \"*test*\""], cwd=driver, shell=True, capture_output=True, check=True) + subprocess.run(["zip -r ../"+driver+".zip config.yml fingerprints.yml search-parameters.y*ml $(find . -name \"*.pem\") $(find . -name \"*.crt\") $(find profiles -name \"*.y*ml\") $(find . -name \"*.lua\") -x \"*test*\""], cwd=driver, shell=True, capture_output=True, check=True) except subprocess.CalledProcessError as error: print(error.stderr) retries += 1