mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-06 16:44:06 +00:00
Prepare PyPI code signing only for release builds
This commit is contained in:
2
.github/workflows/pypi-release.yml
vendored
2
.github/workflows/pypi-release.yml
vendored
@@ -31,6 +31,7 @@ jobs:
|
||||
name: picard-sdist
|
||||
path: dist/*
|
||||
- name: Prepare GPG signing key
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
if [ -n "$CODESIGN_PGP_URL" ] && [ -n "$AWS_ACCESS_KEY_ID" ]; then
|
||||
pip3 install awscli
|
||||
@@ -104,6 +105,7 @@ jobs:
|
||||
name: picard-bdist-${{ runner.os }}
|
||||
path: dist/*.whl
|
||||
- name: Prepare GPG signing key
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
if [ -n "$CODESIGN_PGP_URL" ] && [ -n "$AWS_ACCESS_KEY_ID" ]; then
|
||||
pip3 install awscli
|
||||
|
||||
Reference in New Issue
Block a user