Skip to content

Commit

Permalink
ci: retrieving snk for sdk/client docs signing (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanderson-ld authored Jun 20, 2024
1 parent 9ead19c commit 10045f0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/full-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ runs:
project_file: ${{ inputs.project_file }}
test_project_file: ${{ inputs.test_project_file }}

- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.1.0
- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
name: Get secrets
with:
aws_assume_role: ${{ inputs.aws_role }}
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,21 @@ jobs:
build-publish:
runs-on: macos-latest
permissions:
contents: write # Needed in this case to write github pages.
id-token: write
contents: write
steps:
- uses: actions/checkout@v4

- name: Setup Env from project's Env file
shell: bash
run: echo "$(cat ${{ inputs.pkg_workspace }}/github_actions.env)" >> $GITHUB_ENV

- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
name: Get secrets
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
s3_path_pairs: 'launchdarkly-releaser/dotnet/LaunchDarkly.ClientSdk.snk = LaunchDarkly.ClientSdk.snk'

- id: build
name: Build and Test SDK
uses: ./.github/actions/ci
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/sdk-client-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,11 @@ jobs:
shell: bash
run: echo "$(cat pkgs/sdk/client/github_actions.env)" >> $GITHUB_ENV

- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.0.1
- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
name: Get secrets
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}

- name: Download snk
shell: bash
run: aws s3 cp s3://launchdarkly-releaser/dotnet/LaunchDarkly.ClientSdk.snk LaunchDarkly.ClientSdk.snk
s3_path_pairs: 'launchdarkly-releaser/dotnet/LaunchDarkly.ClientSdk.snk = LaunchDarkly.ClientSdk.snk'

- uses: ./.github/actions/ci
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-server-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
shell: bash
run: echo "$(cat pkgs/sdk/server/github_actions.env)" >> $GITHUB_ENV

- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.0.1
- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
name: Get secrets
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/telemetry-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
shell: bash
run: echo "$(cat pkgs/telemetry/github_actions.env)" >> $GITHUB_ENV

- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.0.1
- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
name: Get secrets
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
Expand Down

0 comments on commit 10045f0

Please sign in to comment.