Skip to content

Commit 64853f2

Browse files
authored
[chore] Switch back to upload-artifact v3 (open-telemetry#30098)
**Description:** I think v4 is broken (or the way we are using the action is no longer supported in v4). Switching back to v3 for now to fix our CI. **Link to tracking Issue:** <Issue number if applicable> I think actions/upload-artifact#471 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.>
1 parent c4aa4fd commit 64853f2

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/build-and-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ jobs:
271271
- name: Run Unit Tests With Coverage
272272
if: startsWith( matrix.go-version, '~1.20' ) # only run coverage on one version
273273
run: make gotest-with-cover GROUP=${{ matrix.group }}
274-
- uses: actions/upload-artifact@v4
274+
- uses: actions/upload-artifact@v3
275275
if: startsWith( matrix.go-version, '~1.20' ) # only run coverage on one version
276276
with:
277277
name: coverage-artifacts
@@ -453,7 +453,7 @@ jobs:
453453
- name: Build Collector ${{ matrix.binary }}
454454
run: make GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} GOARM=${{ matrix.arm }} otelcontribcol
455455
- name: Upload Collector Binaries
456-
uses: actions/upload-artifact@v4
456+
uses: actions/upload-artifact@v3
457457
with:
458458
name: collector-binaries
459459
path: ./bin/*
@@ -501,7 +501,7 @@ jobs:
501501
./internal/buildscripts/packaging/fpm/test.sh dist/otel-contrib-collector*x86_64.rpm examples/demo/otel-collector-config.yaml
502502
fi
503503
- name: Upload Packages
504-
uses: actions/upload-artifact@v4
504+
uses: actions/upload-artifact@v3
505505
with:
506506
name: collector-packages
507507
path: ./dist/*
@@ -536,7 +536,7 @@ jobs:
536536
- name: Validate MSI
537537
run: .\internal\buildscripts\packaging\msi\make.ps1 Confirm-MSI
538538
- name: Upload MSI
539-
uses: actions/upload-artifact@v4
539+
uses: actions/upload-artifact@v3
540540
with:
541541
name: collector-packages
542542
path: ./dist/*.msi

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Build Collector
3838
run: make otelcontribcol
3939
- name: Upload Collector Binary
40-
uses: actions/upload-artifact@v4
40+
uses: actions/upload-artifact@v3
4141
with:
4242
name: collector-binary
4343
path: ./bin/*
@@ -76,7 +76,7 @@ jobs:
7676
run: |
7777
docker save otelcontribcol:latest > /tmp/otelcontribcol.tar
7878
- name: Upload artifact
79-
uses: actions/upload-artifact@v4
79+
uses: actions/upload-artifact@v3
8080
with:
8181
name: otelcontribcol
8282
path: /tmp/otelcontribcol.tar

.github/workflows/load-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: make install-tools
4747
- run: make oteltestbedcol
4848
- name: Upload Collector Binaries
49-
uses: actions/upload-artifact@v4
49+
uses: actions/upload-artifact@v3
5050
with:
5151
name: collector-binaries
5252
path: ./bin/*
@@ -103,12 +103,12 @@ jobs:
103103
- name: Upload Test Results
104104
if: ${{ failure() || success() }}
105105
continue-on-error: true
106-
uses: actions/upload-artifact@v4
106+
uses: actions/upload-artifact@v3
107107
with:
108108
path: ./*.tar
109109
- run: cp testbed/tests/results/benchmarks.json testbed/tests/results/${{steps.filename.outputs.name}}.json
110110
- name: Upload benchmarks.json
111-
uses: actions/upload-artifact@v4
111+
uses: actions/upload-artifact@v3
112112
with:
113113
name: benchmark-results
114114
path: testbed/tests/results/${{steps.filename.outputs.name}}.json

0 commit comments

Comments
 (0)