Use tar to preserve links

Something broke in the actions/download-artifact action and it is not preserving symbolic links. It didn't get a new release so my guess is that something was updated in the node environment or in npm. This is a future proof solution to preserve the fs structure between upload and download.
This commit is contained in:
Juliusz Sosinowicz
2024-08-05 14:32:37 +02:00
parent 54370cc51e
commit 5320b425e7
21 changed files with 148 additions and 43 deletions

View File

@@ -28,11 +28,14 @@ jobs:
install: true
check: false
- name: tar build-dir
run: tar -zcf build-dir.tgz build-dir
- name: Upload built lib
uses: actions/upload-artifact@v4
with:
name: wolf-install-ntp
path: build-dir
path: build-dir.tgz
retention-days: 5
ntp_check:
@@ -51,7 +54,9 @@ jobs:
uses: actions/download-artifact@v4
with:
name: wolf-install-ntp
path: build-dir
- name: untar build-dir
run: tar -xf build-dir.tgz
- name: Checkout OSP
uses: actions/checkout@v4