Skip to content

Commit f655ef7

Browse files
committed
try to keep the existing naming
1 parent 3296f60 commit f655ef7

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/flow-linux.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,16 @@ jobs:
174174
- name: Pack module
175175
if: ${{ !inputs.run_valgrind }}
176176
run: |
177+
OSNICK_FLAG=""
178+
case "${{ matrix.platform.os }}" in
179+
alma8|alma9|alma10)
180+
OSNICK_FLAG="-e OSNICK=${{ matrix.platform.os }}"
181+
;;
182+
esac
177183
docker run --rm \
178184
-v ${{ github.workspace }}:/workspace \
179185
-w /workspace \
180-
-e OSNICK=${{ matrix.platform.os }} \
186+
$OSNICK_FLAG \
181187
-e BRANCH=${{ env.BRANCH }} \
182188
-e VERSION=${{ env.VERSION }} \
183189
-e TAGGED=${{ env.TAGGED }} \
@@ -193,10 +199,16 @@ jobs:
193199
- name: Upload artifacts to S3
194200
if: ${{ !inputs.run_valgrind }}
195201
run: |
202+
OSNICK_FLAG=""
203+
case "${{ matrix.platform.os }}" in
204+
alma8|alma9|alma10)
205+
OSNICK_FLAG="-e OSNICK=${{ matrix.platform.os }}"
206+
;;
207+
esac
196208
docker run --rm \
197209
-v ${{ github.workspace }}:/workspace \
198210
-w /workspace \
199-
-e OSNICK=${{ matrix.platform.os }} \
211+
$OSNICK_FLAG \
200212
-e AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} \
201213
-e AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} \
202214
-e GITHUB_REF=${{ github.ref }} \

0 commit comments

Comments
 (0)