Skip to content

Commit

Permalink
Using 'shell:bash' for windows to ensure proper variable output
Browse files Browse the repository at this point in the history
  • Loading branch information
kkalinowski-reef committed Jan 12, 2023
1 parent c043978 commit e9f2f57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}')


Expand Down

0 comments on commit e9f2f57

Please sign in to comment.