Skip to content

Commit

Permalink
Fix conformance release upload (#2126)
Browse files Browse the repository at this point in the history
Problem: A recent change in a CI variable prevented the conformance profile from being uploaded at release time.

Solution: Remove the check for k8s-version. It shouldn't matter which version of k8s the tests were run on for the release conformance profile.
  • Loading branch information
sjberman authored Jun 11, 2024
1 parent 94b9420 commit c8b628f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
working-directory: ./tests

- name: Upload profile to release
if: ${{ inputs.k8s-version == 'latest' && startsWith(github.ref, 'refs/tags/') }}
if: ${{ startsWith(github.ref, 'refs/tags/') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ github.ref_name }} conformance-profile.yaml --clobber
Expand Down

0 comments on commit c8b628f

Please sign in to comment.