Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: retrieving snk for sdk/client docs signing #10

Merged
merged 6 commits into from
Jun 20, 2024
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
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
Loading