diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 11a6c8579..afb1fc835 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -138,12 +138,15 @@ jobs: run: python -m pip install --upgrade nox pip setuptools - name: Bundle the distribution id: bundle + shell: bash run: nox -vs bundle >> $GITHUB_OUTPUT - name: Import certificate id: windows_import_cert + shell: bash run: echo "filePath=some-path" >> $GITHUB_OUTPUT - name: Sign the bundle id: sign + shell: bash run: nox -vs sign -- '${{ steps.windows_import_cert.outputs.filePath }}' '${{ env.B2_WINDOWS_CODE_SIGNING_CERTIFICATE_PASSWORD }}' >> $GITHUB_OUTPUT - name: Generate hashes id: hashes diff --git a/noxfile.py b/noxfile.py index 2b4b0dd46..ba937311b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -279,7 +279,7 @@ def sign(session): # Set outputs for GitHub Actions if CI: - asset_path = str(next(pathlib.Path('dist').glob('*'))) + asset_path = str(pathlib.Path('dist') / '*') print(f'asset_path={asset_path}')