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
3 changes: 3 additions & 0 deletions .github/workflows/manual-publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install PCRE development libraries
run: sudo apt-get update && sudo apt-get install -y libpcre3-dev

- uses: ./.github/actions/setup-cache

- name: Build and Test
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:
inputs:
dry_run:
description: 'Is this a dry run. If so no package will be published.'
description: "Is this a dry run. If so no package will be published."
type: boolean
required: true

Expand All @@ -20,6 +20,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install PCRE development libraries
run: sudo apt-get update && sudo apt-get install -y libpcre3-dev

- uses: ./.github/actions/setup-cache

- name: Build and Test
Expand All @@ -29,10 +32,10 @@ jobs:
token: ${{secrets.GITHUB_TOKEN}}

- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
name: 'Get Hackage token'
name: "Get Hackage token"
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
ssm_parameter_pairs: '/production/common/releasing/hackage/password = HACKAGE_TOKEN'
ssm_parameter_pairs: "/production/common/releasing/hackage/password = HACKAGE_TOKEN"

- name: Publish Package
uses: ./.github/actions/publish
Expand All @@ -41,7 +44,7 @@ jobs:
dry_run: ${{ inputs.dry_run }}

release-provenance:
needs: [ 'build-publish' ]
needs: ["build-publish"]
permissions:
actions: read
id-token: write
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,15 @@ jobs:
# These remaining steps are ONLY run if a release was actually created
#
- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
name: 'Get Hackage token'
name: "Get Hackage token"
if: ${{ steps.release.outputs.releases_created == 'true' }}
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
ssm_parameter_pairs: '/production/common/releasing/hackage/password = HACKAGE_TOKEN'
ssm_parameter_pairs: "/production/common/releasing/hackage/password = HACKAGE_TOKEN"

- name: Install PCRE development libraries
if: ${{ steps.release.outputs.releases_created == 'true' }}
run: sudo apt-get update && sudo apt-get install -y libpcre3-dev

- uses: ./.github/actions/setup-cache
if: ${{ steps.release.outputs.releases_created == 'true' }}
Expand All @@ -60,7 +64,7 @@ jobs:
if: ${{ steps.release.outputs.releases_created == 'true' }}
with:
token: ${{ env.HACKAGE_TOKEN }}
dry_run: 'false'
dry_run: "false"

- uses: ./.github/actions/publish-docs
if: ${{ steps.release.outputs.releases_created == 'true' }}
Expand All @@ -70,7 +74,7 @@ jobs:
token: ${{secrets.GITHUB_TOKEN}}

release-provenance:
needs: [ 'release-package' ]
needs: ["release-package"]
if: ${{ needs.release-package.outputs.release-created == 'true' }}
permissions:
actions: read
Expand Down
Loading