Skip to content

Commit e95dfe3

Browse files
committed
Provider compat CI: Force copy of fips.so and fipsmodule.cnf
If the target branch is >4.0 the destination files can be read-only.
1 parent 159cbf3 commit e95dfe3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/prov-compat-label.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ jobs:
265265
- name: set up cross validation of FIPS from A with tree from B
266266
if: steps.early_exit.outputs.skip != 'true'
267267
run: |
268-
cp providers/fips.so ../${{ matrix.tree_b }}/providers/
269-
cp providers/fipsmodule.cnf ../${{ matrix.tree_b }}/providers/
268+
cp -f providers/fips.so ../${{ matrix.tree_b }}/providers/
269+
cp -f providers/fipsmodule.cnf ../${{ matrix.tree_b }}/providers/
270270
working-directory: ${{ matrix.tree_a }}
271271

272272
- name: show module versions from cross validation

‎.github/workflows/provider-compatibility.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ jobs:
248248
- name: set up cross validation of FIPS from A with tree from B
249249
if: steps.early_exit.outputs.skip != 'true'
250250
run: |
251-
cp providers/fips.so ../${{ matrix.tree_b }}/providers/
252-
cp providers/fipsmodule.cnf ../${{ matrix.tree_b }}/providers/
251+
cp -f providers/fips.so ../${{ matrix.tree_b }}/providers/
252+
cp -f providers/fipsmodule.cnf ../${{ matrix.tree_b }}/providers/
253253
working-directory: ${{ matrix.tree_a }}
254254

255255
- name: show module versions from cross validation

0 commit comments

Comments
 (0)