Skip to content
Open
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
12 changes: 11 additions & 1 deletion .github/workflows/release-41_publish-rpm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,23 @@ on:
default: polkadot-stable2412
required: true
type: string
distribution:
description: Distribution where to publish rpm package (release, staging)
default: release
required: true
type: string

workflow_call:
inputs:
tag:
description: Current final release tag in the format polkadot-stableYYMM or polkadot-stable-YYMM-X
required: true
type: string
distribution:
description: Distribution where to publish rpm package (release, staging)
default: release
required: true
type: string

jobs:
call-publish-workflow:
Expand All @@ -24,6 +34,6 @@ jobs:
tag: ${{ inputs.tag }}
distribution: ${{ inputs.distribution }}
package_type: 'rpm'
aws_repo_base_path: "s3://releases-package-repos"
aws_repo_base_path: ${{ inputs.distribution == 'staging' && 's3://staging-packages-repos' || 's3://releases-package-repos' }}
cloudfront_distribution_id: "E36FKEYWDXAZYJ"
secrets: inherit
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
uses: ./.github/workflows/release-41_publish-rpm-package.yml
with:
tag: ${{ inputs.release_tag }}
distribution: ${{ inputs.distribution }}
secrets: inherit

# ==============================================
Expand Down
Loading