Skip to content

Commit bd43137

Browse files
committed
gh action / cmake / mingw: archive artifact files directly (without tar).
1 parent d2426f8 commit bd43137

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

.github/workflows/cmake-cross-mingw.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ jobs:
4747
run: find build/
4848
- name: prepare artifact
4949
run: |
50-
mkdir -vp artifacts/bin
51-
cp -v build/shared/src/libadf* artifacts/bin/
52-
cp -v build/shared/examples/*.exe artifacts/bin/
53-
mkdir -v artifacts/include
54-
cp -vR src/*.h artifacts/include
50+
mkdir -vp bin
51+
cp -v build/shared/src/libadf* bin/
52+
cp -v build/shared/examples/*.exe bin/
53+
mkdir -v include
54+
cp -vR src/*.h include
5555
cp -vR BUGS.md \
5656
NOTES.md \
5757
README.md \
@@ -69,7 +69,16 @@ jobs:
6969
# name: adflib-${{ env.ADFLIB_TAG }}-mingw
7070
name: adflib-mingw-${{ matrix.build_type }}
7171
path: |
72-
adflib-mingw-${{ matrix.build_type }}.tgz
72+
AUTHORS
73+
BUGS.md
74+
ChangeLog
75+
COPYING*
76+
NOTES.md
77+
README.md
78+
TODO
79+
bin
80+
doc
81+
include
7382
7483
test:
7584
needs: build
@@ -85,12 +94,12 @@ jobs:
8594
# name: adflib-${{ env.ADFLIB_TAG }}-mingw
8695
name: adflib-mingw-${{ matrix.build_type }}
8796
path: .
88-
- name: extract file from the artifact
89-
run: tar xzvf adflib-mingw-${{ matrix.build_type }}.tgz
9097
- name: list files extracted from the artifact
9198
shell: bash
92-
run: find bin/
93-
- name: show properties of binaries (installed)
99+
run: |
100+
find bin/
101+
find include/
102+
- name: show properties of binaries
94103
shell: bash
95104
run: ldd bin/unadf
96105
- name: configure tests

0 commit comments

Comments
 (0)