Skip to content

Commit

Permalink
make artifact names unique
Browse files Browse the repository at this point in the history
This prevents failures after updating the upload-artifact action to v4.
  • Loading branch information
andrzej-stencel committed Feb 13, 2024
1 parent b744ceb commit 3cfc3f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ jobs:
- name: Upload Packages
uses: actions/upload-artifact@v4
with:
name: collector-packages
name: collector-packages-${{ matrix.package_type }}
path: ./dist/*
windows-msi:
if: false # skip. See https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/10113
Expand Down Expand Up @@ -586,7 +586,7 @@ jobs:
- name: Upload MSI
uses: actions/upload-artifact@v4
with:
name: collector-packages
name: collector-packages-msi
path: ./dist/*.msi

publish-check:
Expand All @@ -602,8 +602,9 @@ jobs:
- name: Download Packages
uses: actions/download-artifact@v4
with:
name: collector-packages
merge-multiple: true
path: ./dist/
pattern: collector-packages-*
- name: Verify Distribution Files Exist
id: check
run: ./.github/workflows/scripts/verify-dist-files-exist.sh
Expand Down Expand Up @@ -644,8 +645,9 @@ jobs:
- name: Download Packages
uses: actions/download-artifact@v4
with:
name: collector-packages
merge-multiple: true
path: ./dist/
pattern: collector-packages-*
- name: Add Permissions to Tool Binaries
run: chmod -R +x ./dist
- name: Verify Distribution Files Exist
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
if: steps.go-cache.outputs.cache-hit != 'true'
run: make install-tools
- run: make oteltestbedcol
- name: Upload Collector Binaries
- name: Upload Testbed Binaries
uses: actions/upload-artifact@v4
with:
name: collector-binaries
name: testbed-binaries
path: ./bin/*
- name: Split Loadtest Jobs
id: splitloadtest
Expand Down Expand Up @@ -83,10 +83,10 @@ jobs:
if: steps.go-cache.outputs.cache-hit != 'true'
run: make install-tools
- run: mkdir -p results && touch results/TESTRESULTS.md
- name: Download Collector Binaries
- name: Download Testbed Binaries
uses: actions/download-artifact@v4
with:
name: collector-binaries
name: testbed-binaries
path: bin/
- run: chmod +x bin/*
- name: Loadtest
Expand Down

0 comments on commit 3cfc3f3

Please sign in to comment.