Skip to content

Commit 1da4b3e

Browse files
committed
Update release-combined-layer-java.yml
1 parent b54d311 commit 1da4b3e

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

.github/workflows/release-combined-layer-java.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ jobs:
3030
architecture:
3131
- amd64
3232
- arm64
33-
layer_type:
34-
- javaagent
35-
- wrapper
3633
steps:
3734
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3835

@@ -48,25 +45,19 @@ jobs:
4845
- name: Build Combined Layer
4946
run: |
5047
cd java
51-
ARCHITECTURE=${{ matrix.architecture }} LAYER_TYPE=${{ matrix.layer_type }} ./build-combined.sh
48+
ARCHITECTURE=${{ matrix.architecture }} ./build-combined.sh
5249
env:
5350
ARCHITECTURE: ${{ matrix.architecture }}
54-
LAYER_TYPE: ${{ matrix.layer_type }}
55-
56-
- name: Rename zip file for architecture and type
57-
run: |
58-
mv build/otel-java-${{ matrix.layer_type }}-extension-layer.zip build/otel-java-${{ matrix.layer_type }}-extension-layer-${{ matrix.architecture }}.zip
59-
working-directory: java
6051

6152
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6253
name: Save assembled combined layer to build
6354
with:
64-
name: otel-java-${{ matrix.layer_type }}-extension-layer-${{ matrix.architecture }}.zip
65-
path: java/build/otel-java-${{ matrix.layer_type }}-extension-layer-${{ matrix.architecture }}.zip
55+
name: otel-java-extension-layer-${{ matrix.architecture }}.zip
56+
path: java/build/otel-java-extension-layer-${{ matrix.architecture }}.zip
6657

6758
- name: Add Binary to Release
6859
run: |
69-
gh release upload ${{github.ref_name}} java/build/otel-java-${{ matrix.layer_type }}-extension-layer-${{ matrix.architecture }}.zip
60+
gh release upload ${{github.ref_name}} java/build/otel-java-extension-layer-${{ matrix.architecture }}.zip
7061
env:
7162
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7263

@@ -81,14 +72,11 @@ jobs:
8172
architecture:
8273
- amd64
8374
- arm64
84-
layer_type:
85-
- javaagent
86-
- wrapper
8775
aws_region:
8876
- us-east-1
8977
with:
90-
artifact-name: otel-java-${{ matrix.layer_type }}-extension-layer-${{ matrix.architecture }}.zip
91-
layer-name: otel-java-${{ matrix.layer_type }}-extension
78+
artifact-name: otel-java-extension-layer-${{ matrix.architecture }}.zip
79+
layer-name: otel-java-extension
9280
component-version: "combined"
9381
architecture: ${{ matrix.architecture }}
9482
runtimes: java11 java17 java21

0 commit comments

Comments
 (0)