Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Hsu <kennethhsu@gmail.com>2021-03-01 19:19:00 +0300
committerKenneth Hsu <kennethhsu@gmail.com>2021-03-01 19:19:00 +0300
commit5a1daabccc66eda463a4299480f72520102e899e (patch)
tree749ececab29d9b3a9c38f8290293c43e92543c7d /.github
parent2fc8b62a56405fc954927b00961de572c8223b87 (diff)
Include additional libraries in build artifacts.
This mimics the steps performed in build-release.sh. We should later consolidate all these operations to unify the build/release process.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 524801fc4..4023f3dc3 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -38,7 +38,16 @@ jobs:
run: msbuild -p:Configuration=Release Duplicati.sln
- name: Prepare Artifacts
- run: cp -r Duplicati/Server/webroot Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release/webroot
+ shell: bash
+ run: |
+ cp -r Duplicati/Server/webroot Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release/webroot
+
+ # Copy some files for alphavss manually that are not picked up by the build.
+ mkdir Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release/alphavss
+ cp Duplicati/Library/Snapshots/bin/Release/AlphaVSS.*.dll Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release/alphavss
+
+ # Copy some support libraries (e.g., for Azure) that are not picked up by the build.
+ for BACKEND in Duplicati/Library/Backend/*; do if [ -d "${BACKEND}/bin/Release/" ]; then cp "${BACKEND}/bin/Release/"*.dll Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release fi done
- name: Upload Build Artifacts
uses: actions/upload-artifact@v2