Skip to content

Commit

Permalink
dont run debug commands on other distros
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Wiesinger <[email protected]>
  • Loading branch information
mowies committed Nov 14, 2024
1 parent ee846d4 commit a83b11a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/base-ci-goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,13 @@ jobs:
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

- run: ls -laR distributions/${{ inputs.distribution }}/dist
if: ${{ inputs.distribution == 'otelcol-contrib' }}

- if: ${{ inputs.distribution == 'otelcol-contrib' && inputs.latest != true }}
run: mv distributions/otelcol-contrib/dist/**/* distributions/otelcol-contrib/artifacts/

- run: ls -laR distributions/otelcol-contrib/artifacts
if: ${{ inputs.distribution == 'otelcol-contrib' }}

- name: Run GoReleaser for ${{ inputs.distribution }}
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
Expand Down

0 comments on commit a83b11a

Please sign in to comment.