diff --git a/.github/workflows/build-and-release-mixin.yml b/.github/workflows/build-and-release-mixin.yml index 911617555..e4aab3c76 100644 --- a/.github/workflows/build-and-release-mixin.yml +++ b/.github/workflows/build-and-release-mixin.yml @@ -46,7 +46,7 @@ jobs: run: echo "MIXIN_NAME2=${{ github.event.inputs.mixinName }}" >> $GITHUB_ENV - name: Get-Prereqs-To-Build-node-or-coredns-mixin if: env.MIXIN_NAME != 'kubernetes' - run: cd ./mixins/${{ env.MIXIN_NAME }}/ && go install github.com/google/go-jsonnet/cmd/jsonnet@latest && go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest && go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest && GO111MODULE=on go install -v github.com/prometheus/prometheus/cmd/promtool@master + run: cd ./mixins/${{ env.MIXIN_NAME }}/ && go install github.com/google/go-jsonnet/cmd/jsonnet@latest && go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest && go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest && GO111MODULE=on go install -v github.com/prometheus/prometheus/cmd/promtool@latest - name: Build-kubernetes-mixin if: env.MIXIN_NAME == 'kubernetes' run: cd ./mixins/${{ env.MIXIN_NAME }}/ && make all && zip ${{ env.MIXIN_NAME }}-mixins ./prometheus_alerts.yaml ./prometheus_rules.yaml ./dashboards_out/ -r