File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -108,14 +108,22 @@ jobs:
108
108
image : ${{ fromJSON(vars.SMOKE_TEST_IMAGES) }}
109
109
container : ${{ matrix.image }}
110
110
steps :
111
+ - name : Extract BUILD_ARCH from matrix.image
112
+ run : |
113
+ BUILD_ARCH=$(echo ${{ matrix.image }} | cut -d: -f2)
114
+ if [ -z "$BUILD_ARCH" ]; then
115
+ echo "Error: Failed to extract BUILD_ARCH from matrix.image" >&2
116
+ exit 1
117
+ fi
118
+ echo "BUILD_ARCH=$BUILD_ARCH" >> $GITHUB_ENV
111
119
- name : Get binary packages
112
120
uses : actions/download-artifact@v4
113
121
with :
114
- name : binary-${{ matrix.dist }}-${{ env.ARCH }}
122
+ name : binary-${{ env.BUILD_ARCH }}-${{ env.ARCH }}
115
123
- name : Install packages
116
124
run : |
117
125
apt-get update
118
- cd binary-$(echo $ {{ matrix.image }} | cut -d: -f2) -${{ env.ARCH }} && apt install --yes ./*.deb
126
+ cd binary-${{ env.BUILD_ARCH }}-${{ env.ARCH }} && apt install --yes ./*.deb
119
127
120
128
publish-to-apt :
121
129
if : github.event.release.prerelease == false
@@ -133,8 +141,6 @@ jobs:
133
141
APT_SIGNING_KEY : ${{ secrets.APT_SIGNING_KEY }}
134
142
- name : Get binary packages
135
143
uses : actions/download-artifact@v4
136
- with :
137
- name : binary-${{ matrix.dist }}-${{ env.ARCH }}
138
144
- name : Setup ruby
139
145
uses : ruby/setup-ruby@v1
140
146
with :
You can’t perform that action at this time.
0 commit comments