From e4a05a5cc6691b1ecff83d09c778e6d6fd13cbcc Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Thu, 28 Nov 2024 15:13:38 +0100 Subject: [PATCH] prefix nightly steps Signed-off-by: Moritz Wiesinger --- .github/workflows/base-ci-goreleaser.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/base-ci-goreleaser.yaml b/.github/workflows/base-ci-goreleaser.yaml index 6c64922c..5c50a8da 100644 --- a/.github/workflows/base-ci-goreleaser.yaml +++ b/.github/workflows/base-ci-goreleaser.yaml @@ -73,7 +73,7 @@ jobs: if: inputs.distribution == 'otelcol-contrib' run: mkdir -p distributions/otelcol-contrib/artifacts - - name: Get latest finished run ID from contrib repo build-and-test + - name: [Nightly] Get latest finished run ID from contrib repo build-and-test id: get-run-id if: inputs.distribution == 'otelcol-contrib' && inputs.nightly == true && matrix.GOARCH == 'amd64' && matrix.GOOS == 'linux' env: @@ -91,11 +91,11 @@ jobs: echo "Found run ID: $run_id" echo "run_id=$run_id" >> "$GITHUB_OUTPUT" - - name: Create sub-directory for otelcol-contrib nightly build + - name: [Nightly] Create sub-directory for otelcol-contrib nightly build if: inputs.distribution == 'otelcol-contrib' && inputs.nightly == true && matrix.GOARCH == 'amd64' && matrix.GOOS == 'linux' run: mkdir -p distributions/otelcol-contrib/artifacts/otelcol-contrib_linux_amd64_v1 - - name: Download built otelcol-contrib artifact from contrib repo + - name: [Nightly] Download built otelcol-contrib artifact from contrib repo if: inputs.distribution == 'otelcol-contrib' && inputs.nightly == true && matrix.GOARCH == 'amd64' && matrix.GOOS == 'linux' uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 with: @@ -104,7 +104,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} run-id: ${{ steps.get-run-id.outputs.run_id }} - - name: Move downloaded artifact + - name: [Nightly] Move downloaded artifact if: inputs.distribution == 'otelcol-contrib' && inputs.nightly == true && matrix.GOARCH == 'amd64' && matrix.GOOS == 'linux' run: mv otelcontribcol_linux_amd64 distributions/otelcol-contrib/artifacts/otelcol-contrib_linux_amd64_v1/otelcol-contrib