Skip to content

Commit 9ef7d73

Browse files
committed
Fix build
1 parent fb4ef79 commit 9ef7d73

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.github/workflows/package_code.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
#
12
# Licensed to the Apache Software Foundation (ASF) under one or more
23
# contributor license agreements. See the NOTICE file distributed with
34
# this work for additional information regarding copyright ownership.
4-
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# The ASF licenses this file to you under the Apache License, Version 2.0
56
# (the "License"); you may not use this file except in compliance with
67
# the License. You may obtain a copy of the License at
78
#
@@ -12,6 +13,7 @@
1213
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1314
# See the License for the specific language governing permissions and
1415
# limitations under the License.
16+
#
1517
name: Generate release files
1618

1719
on:
@@ -51,15 +53,17 @@ jobs:
5153
with:
5254
name: apache-log4cxx
5355
path: |
54-
CMakeLists/apache-log4cxx-*
56+
CMakeFiles/apache-log4cxx-*
5557
5658
verify-reproducibility:
5759
name: Verify reproducibility
5860
needs: package
59-
runs-on:
60-
- ubuntu-latest
61-
- macos-latest
62-
- windows-latest
61+
runs-on: ${{ matrix.os }}
62+
63+
strategy:
64+
fail-fast: false
65+
matrix:
66+
os: [ macos-latest, ubuntu-latest, windows-latest ]
6367

6468
steps:
6569
- name: Checkout repository
@@ -78,15 +82,15 @@ jobs:
7882
with:
7983
name: apache-log4cxx
8084
path: |
81-
CMakeLists/reference
85+
CMakeFiles/reference
8286
8387
- name: Check release files
8488
id: check
8589
shell: bash
8690
run: |
8791
./package.sh
88-
current=CMakeLists/apache-log4cxx-$VERSION
89-
reference=CMakeLists/reference/apache-log4cxx-$VERSION
92+
current=CMakeFiles/apache-log4cxx-$VERSION
93+
reference=CMakeFiles/reference/apache-log4cxx-$VERSION
9094
for format in tar.gz zip; do
9195
for hash in sha256 sha512; do
9296
if cmp --silent "$reference.$format.$hash" "$current.$format.$hash"; then
@@ -100,6 +104,6 @@ jobs:
100104
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # 4.4.3
101105
if: ${{ failure() && steps.check.conclusion == 'failure' }}
102106
with:
103-
name: apache-log4cxx-reproducibility-${{ runner.os }}
107+
name: apache-log4cxx-reproducibility-${{ matrix.os }}
104108
path: |
105-
CMakeLists/apache-log4cxx-*
109+
CMakeFiles/apache-log4cxx-*

0 commit comments

Comments
 (0)