Skip to content

Commit

Permalink
more fixes to build-and-test workflow artifact names
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzej-stencel committed Feb 13, 2024
1 parent 3cfc3f3 commit 5d0d9f4
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ jobs:
- uses: actions/upload-artifact@v4
if: startsWith( matrix.go-version, '1.21' ) # only upload artifact for one version
with:
name: coverage-artifacts
name: coverage-artifacts-${{ matrix.go-version }}-${{ matrix.group }}
path: ${{ matrix.group }}-coverage.txt
unittest:
if: ${{ github.actor != 'dependabot[bot]' && always() }}
Expand All @@ -315,7 +315,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: coverage-artifacts
merge-multiple: true
pattern: coverage-artifacts-*
- name: Upload coverage report
uses: Wandalen/wretry.action@v1.3.0
with:
Expand Down Expand Up @@ -504,7 +505,7 @@ jobs:
- name: Upload Collector Binaries
uses: actions/upload-artifact@v4
with:
name: collector-binaries
name: collector-binaries-${{ matrix.os }}-${{ matrix.arch }}
path: ./bin/*

build-package:
Expand All @@ -527,8 +528,9 @@ jobs:
- name: Download Collector Binaries
uses: actions/download-artifact@v4
with:
name: collector-binaries
merge-multiple: true
path: bin/
pattern: collector-binaries-*
- run: chmod +x bin/*
- name: Set Release Tag
id: github_tag
Expand Down Expand Up @@ -564,8 +566,9 @@ jobs:
- name: Download Binaries
uses: actions/download-artifact@v4
with:
name: collector-binaries
merge-multiple: true
path: ./bin/
pattern: collector-binaries-*
- name: Cache Wix
id: wix-cache
uses: actions/cache@v3
Expand Down Expand Up @@ -597,8 +600,9 @@ jobs:
- name: Download Binaries
uses: actions/download-artifact@v4
with:
name: collector-binaries
merge-multiple: true
path: ./bin/
pattern: collector-binaries-*
- name: Download Packages
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -639,8 +643,9 @@ jobs:
- name: Download Binaries
uses: actions/download-artifact@v4
with:
name: collector-binaries
merge-multiple: true
path: ./bin/
pattern: collector-binaries-*
- run: chmod +x bin/*
- name: Download Packages
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 5d0d9f4

Please sign in to comment.