Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/apt-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ permissions:

jobs:
update-apt-repo:
if: startsWith(github.ref_name, 'v')
# Only run when the GPG signing key is configured. Without APT_SIGNING_KEY /
# APT_SIGNING_KEY_ID (the one-time setup documented above), the signing step
# fails with "no valid OpenPGP data found"; skip the job cleanly instead.
if: startsWith(github.ref_name, 'v') && vars.APT_SIGNING_KEY_ID != ''
runs-on: ubuntu-latest

steps:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,12 @@ jobs:
name: Publish npm packages
# Run after goreleaser on tag pushes; on workflow_dispatch run independently in dry-run mode.
needs: [goreleaser]
if: |
always() &&
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'push' && needs.goreleaser.result == 'success'))
# DISABLED: npm publishing is turned off. To re-enable, restore the condition:
# if: |
# always() &&
# (github.event_name == 'workflow_dispatch' ||
# (github.event_name == 'push' && needs.goreleaser.result == 'success'))
if: false
runs-on: ubuntu-latest

steps:
Expand Down
Loading