Skip to content

Commit ab2256c

Browse files
authored
Merge pull request #7835 from julek-wolfssl/tar-artifacts
Use tar to preserve links
2 parents 54370cc + 332c64a commit ab2256c

22 files changed

Lines changed: 156 additions & 45 deletions

.github/workflows/curl.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,14 @@ jobs:
2626
configure: --enable-curl
2727
install: true
2828

29+
- name: tar build-dir
30+
run: tar -zcf build-dir.tgz build-dir
31+
2932
- name: Upload built lib
3033
uses: actions/upload-artifact@v4
3134
with:
3235
name: wolf-install-curl
33-
path: build-dir
36+
path: build-dir.tgz
3437
retention-days: 5
3538

3639
test_curl:
@@ -54,7 +57,9 @@ jobs:
5457
uses: actions/download-artifact@v4
5558
with:
5659
name: wolf-install-curl
57-
path: build-dir
60+
61+
- name: untar build-dir
62+
run: tar -xf build-dir.tgz
5863

5964
- name: Build curl
6065
uses: wolfSSL/actions-build-autotools-project@v1

.github/workflows/cyrus-sasl.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@ jobs:
2929
# Don't run tests as this config is tested in many other places
3030
check: false
3131

32+
- name: tar build-dir
33+
run: tar -zcf build-dir.tgz build-dir
34+
3235
- name: Upload built lib
3336
uses: actions/upload-artifact@v4
3437
with:
3538
name: wolf-install-sasl
36-
path: build-dir
39+
path: build-dir.tgz
3740
retention-days: 5
3841

3942
sasl_check:
@@ -60,7 +63,9 @@ jobs:
6063
uses: actions/download-artifact@v4
6164
with:
6265
name: wolf-install-sasl
63-
path: build-dir
66+
67+
- name: untar build-dir
68+
run: tar -xf build-dir.tgz
6469

6570
- name: Checkout OSP
6671
uses: actions/checkout@v4

.github/workflows/docker-OpenWrt.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,15 @@ jobs:
2828
- uses: actions/checkout@v4
2929
- name: Compile libwolfssl.so
3030
run: ./autogen.sh && ./configure --enable-all && make
31+
# 2024-08-05 - Something broke in the actions. They are no longer following links.
32+
- name: tar libwolfssl.so
33+
working-directory: src/.libs
34+
run: tar -zcf libwolfssl.tgz libwolfssl.so*
3135
- name: Upload libwolfssl.so
3236
uses: actions/upload-artifact@v4
3337
with:
3438
name: openwrt-libwolfssl.so
35-
path: src/.libs/libwolfssl.so
39+
path: src/.libs/libwolfssl.tgz
3640
retention-days: 5
3741
compile_container:
3842
name: Compile container
@@ -50,7 +54,9 @@ jobs:
5054
- uses: actions/download-artifact@v4
5155
with:
5256
name: openwrt-libwolfssl.so
53-
path: Docker/OpenWrt/.
57+
path: .
58+
- name: untar libwolfssl.so
59+
run: tar -xf libwolfssl.tgz -C Docker/OpenWrt
5460
- name: Build but dont push
5561
uses: docker/build-push-action@v5
5662
with:

.github/workflows/grpc.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,14 @@ jobs:
2727
configure: --enable-all 'CPPFLAGS=-DWOLFSSL_RSA_KEY_CHECK -DHAVE_EX_DATA_CLEANUP_HOOKS'
2828
install: true
2929

30+
- name: tar build-dir
31+
run: tar -zcf build-dir.tgz build-dir
32+
3033
- name: Upload built lib
3134
uses: actions/upload-artifact@v4
3235
with:
3336
name: wolf-install-grpc
34-
path: build-dir
37+
path: build-dir.tgz
3538
retention-days: 5
3639

3740
grpc_check:
@@ -65,7 +68,9 @@ jobs:
6568
uses: actions/download-artifact@v4
6669
with:
6770
name: wolf-install-grpc
68-
path: build-dir
71+
72+
- name: untar build-dir
73+
run: tar -xf build-dir.tgz
6974

7075
- name: Checkout OSP
7176
uses: actions/checkout@v4

.github/workflows/hitch.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,14 @@ jobs:
2727
configure: --enable-hitch
2828
install: true
2929

30+
- name: tar build-dir
31+
run: tar -zcf build-dir.tgz build-dir
32+
3033
- name: Upload built lib
3134
uses: actions/upload-artifact@v4
3235
with:
3336
name: wolf-install-hitch
34-
path: build-dir
37+
path: build-dir.tgz
3538
retention-days: 5
3639

3740
hitch_check:
@@ -53,7 +56,9 @@ jobs:
5356
uses: actions/download-artifact@v4
5457
with:
5558
name: wolf-install-hitch
56-
path: build-dir
59+
60+
- name: untar build-dir
61+
run: tar -xf build-dir.tgz
5762

5863
- name: Checkout OSP
5964
uses: actions/checkout@v4

.github/workflows/hostap-vm.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,14 @@ jobs:
5252
${{ env.wolf_debug_flags }} ${{ matrix.wolf_extra_config }}
5353
install: true
5454

55+
- name: tar build-dir
56+
run: tar -zcf build-dir.tgz build-dir
57+
5558
- name: Upload built lib
5659
uses: actions/upload-artifact@v4
5760
with:
5861
name: ${{ matrix.build_id }}
59-
path: build-dir
62+
path: build-dir.tgz
6063
retention-days: 5
6164

6265
build_uml_linux:
@@ -178,7 +181,9 @@ jobs:
178181
uses: actions/download-artifact@v4
179182
with:
180183
name: ${{ matrix.config.build_id }}
181-
path: build-dir
184+
185+
- name: untar build-dir
186+
run: tar -xf build-dir.tgz
182187

183188
- name: Install dependencies
184189
run: |

.github/workflows/ipmitool.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,14 @@ jobs:
3030
# Don't run tests as this config is tested in many other places
3131
check: false
3232

33+
- name: tar build-dir
34+
run: tar -zcf build-dir.tgz build-dir
35+
3336
- name: Upload built lib
3437
uses: actions/upload-artifact@v4
3538
with:
3639
name: wolf-install-ipmitool
37-
path: build-dir
40+
path: build-dir.tgz
3841
retention-days: 5
3942

4043
build_ipmitool:
@@ -50,7 +53,9 @@ jobs:
5053
uses: actions/download-artifact@v4
5154
with:
5255
name: wolf-install-ipmitool
53-
path: build-dir
56+
57+
- name: untar build-dir
58+
run: tar -xf build-dir.tgz
5459

5560
- name: Checkout OSP
5661
uses: actions/checkout@v4

.github/workflows/jwt-cpp.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@ jobs:
2929
# Don't run tests as this config is tested in many other places
3030
check: false
3131

32+
- name: tar build-dir
33+
run: tar -zcf build-dir.tgz build-dir
34+
3235
- name: Upload built lib
3336
uses: actions/upload-artifact@v4
3437
with:
3538
name: wolf-install-jwt-cpp
36-
path: build-dir
39+
path: build-dir.tgz
3740
retention-days: 5
3841

3942
build_pam-ipmi:
@@ -56,7 +59,9 @@ jobs:
5659
uses: actions/download-artifact@v4
5760
with:
5861
name: wolf-install-jwt-cpp
59-
path: build-dir
62+
63+
- name: untar build-dir
64+
run: tar -xf build-dir.tgz
6065

6166
- name: Checkout OSP
6267
uses: actions/checkout@v4

.github/workflows/krb5.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@ jobs:
3131
configure: --enable-krb CC='gcc -fsanitize=address'
3232
install: true
3333

34+
- name: tar build-dir
35+
run: tar -zcf build-dir.tgz build-dir
36+
3437
- name: Upload built lib
3538
uses: actions/upload-artifact@v4
3639
with:
3740
name: wolf-install-krb5
38-
path: build-dir
41+
path: build-dir.tgz
3942
retention-days: 5
4043

4144
krb5_check:
@@ -54,7 +57,9 @@ jobs:
5457
uses: actions/download-artifact@v4
5558
with:
5659
name: wolf-install-krb5
57-
path: build-dir
60+
61+
- name: untar build-dir
62+
run: tar -xf build-dir.tgz
5863

5964
- name: Checkout OSP
6065
uses: actions/checkout@v4

.github/workflows/libssh2.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@ jobs:
2828
check: false # config is already tested in many other PRB's
2929
install: true
3030

31+
- name: tar build-dir
32+
run: tar -zcf build-dir.tgz build-dir
33+
3134
- name: Upload built lib
3235
uses: actions/upload-artifact@v4
3336
with:
3437
name: wolf-install-libssh2
35-
path: build-dir
38+
path: build-dir.tgz
3639
retention-days: 5
3740

3841
libssh2_check:
@@ -51,7 +54,9 @@ jobs:
5154
uses: actions/download-artifact@v4
5255
with:
5356
name: wolf-install-libssh2
54-
path: build-dir
57+
58+
- name: untar build-dir
59+
run: tar -xf build-dir.tgz
5560

5661
- name: Build and test libssh2
5762
uses: wolfSSL/actions-build-autotools-project@v1

0 commit comments

Comments
 (0)