mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-28 00:23:00 +00:00
## Problem It's OIDC (OpenID Connect), not OICD ## Summary of changes - Rename actions input `aws-oicd-role-arn` -> `aws-oidc-role-arn`
25 lines
840 B
YAML
25 lines
840 B
YAML
name: 'Merge and upload coverage data'
|
|
description: 'Compresses and uploads the coverage data as an artifact'
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Merge coverage data
|
|
shell: bash -euxo pipefail {0}
|
|
run: scripts/coverage "--profraw-prefix=$GITHUB_JOB" --dir=/tmp/coverage merge
|
|
|
|
- name: Download previous coverage data into the same directory
|
|
uses: ./.github/actions/download
|
|
with:
|
|
name: coverage-data-artifact
|
|
path: /tmp/coverage
|
|
skip-if-does-not-exist: true # skip if there's no previous coverage to download
|
|
aws-oidc-role-arn: ${{ inputs.aws-oidc-role-arn }}
|
|
|
|
- name: Upload coverage data
|
|
uses: ./.github/actions/upload
|
|
with:
|
|
name: coverage-data-artifact
|
|
path: /tmp/coverage
|
|
aws-oidc-role-arn: ${{ inputs.aws-oidc-role-arn }}
|