From f098a078b1b9ef3d81a1d2d53896ea5fa4f57dbe Mon Sep 17 00:00:00 2001 From: Andy Krohg Date: Wed, 3 Feb 2021 14:41:17 -0500 Subject: [PATCH] Fix duplicate yq in github actions for chart publishing (#7) * Add support for separating out platform config * Address lint findings * Remove duplicate yq directive from github actions --- .github/workflows/publish-helm-charts-edge.yml | 2 +- .github/workflows/publish-helm-charts-release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-helm-charts-edge.yml b/.github/workflows/publish-helm-charts-edge.yml index 8bc09d9..313fc1f 100644 --- a/.github/workflows/publish-helm-charts-edge.yml +++ b/.github/workflows/publish-helm-charts-edge.yml @@ -210,7 +210,7 @@ jobs: uses: docker://mikefarah/yq with: args: - yq write --inplace charts/${{ matrix.helm-chart }}/Chart.yaml version ${{ steps.helm-chart-next-semver.outputs.next-semver }} + write --inplace charts/${{ matrix.helm-chart }}/Chart.yaml version ${{ steps.helm-chart-next-semver.outputs.next-semver }} # NOTE: workaround for https://github.com/helm/chart-releaser/issues/95 - name: Create Chart.lock ⚙️ diff --git a/.github/workflows/publish-helm-charts-release.yml b/.github/workflows/publish-helm-charts-release.yml index 52b46c7..681f918 100644 --- a/.github/workflows/publish-helm-charts-release.yml +++ b/.github/workflows/publish-helm-charts-release.yml @@ -152,7 +152,7 @@ jobs: uses: docker://mikefarah/yq with: args: - yq write --inplace charts/${{ matrix.helm-chart }}/Chart.yaml version ${{ needs.setup.outputs.helm-charts-new-semver }} + write --inplace charts/${{ matrix.helm-chart }}/Chart.yaml version ${{ needs.setup.outputs.helm-charts-new-semver }} # NOTE: workaround for https://github.com/helm/chart-releaser/issues/95 - name: Create Chart.lock ⚙️