fix: only upload artifacthub metadata to release repo #8460
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI-TEST | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'release-v*' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
k8sVersion: ["1.23.x", "1.24.x", "1.25.x", "1.26.x", "1.27.x", "1.28.x", "1.29.x"] | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: ./.github/actions/install-deps | |
with: | |
k8sVersion: ${{ matrix.k8sVersion }} | |
- run: K8S_VERSION=${{ matrix.k8sVersion }} make ci-test | |
- name: Send coverage | |
# should only send converage once https://docs.coveralls.io/parallel-builds | |
if: matrix.k8sVersion == '1.29.x' | |
env: | |
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: goveralls -coverprofile=coverage.out -service=github |