1
+ #
1
2
# Licensed to the Apache Software Foundation (ASF) under one or more
2
3
# contributor license agreements. See the NOTICE file distributed with
3
4
# 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
5
6
# (the "License"); you may not use this file except in compliance with
6
7
# the License. You may obtain a copy of the License at
7
8
#
12
13
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
14
# See the License for the specific language governing permissions and
14
15
# limitations under the License.
16
+ #
15
17
name : Generate release files
16
18
17
19
on :
@@ -51,15 +53,17 @@ jobs:
51
53
with :
52
54
name : apache-log4cxx
53
55
path : |
54
- CMakeLists /apache-log4cxx-*
56
+ CMakeFiles /apache-log4cxx-*
55
57
56
58
verify-reproducibility :
57
59
name : Verify reproducibility
58
60
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 ]
63
67
64
68
steps :
65
69
- name : Checkout repository
@@ -78,15 +82,15 @@ jobs:
78
82
with :
79
83
name : apache-log4cxx
80
84
path : |
81
- CMakeLists /reference
85
+ CMakeFiles /reference
82
86
83
87
- name : Check release files
84
88
id : check
85
89
shell : bash
86
90
run : |
87
91
./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
90
94
for format in tar.gz zip; do
91
95
for hash in sha256 sha512; do
92
96
if cmp --silent "$reference.$format.$hash" "$current.$format.$hash"; then
@@ -100,6 +104,6 @@ jobs:
100
104
uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # 4.4.3
101
105
if : ${{ failure() && steps.check.conclusion == 'failure' }}
102
106
with :
103
- name : apache-log4cxx-reproducibility-${{ runner .os }}
107
+ name : apache-log4cxx-reproducibility-${{ matrix .os }}
104
108
path : |
105
- CMakeLists /apache-log4cxx-*
109
+ CMakeFiles /apache-log4cxx-*
0 commit comments