diff options
author | Kenneth Hsu <kennethhsu@gmail.com> | 2021-03-01 18:52:34 +0300 |
---|---|---|
committer | Kenneth Hsu <kennethhsu@gmail.com> | 2021-03-01 18:52:34 +0300 |
commit | 2fc8b62a56405fc954927b00961de572c8223b87 (patch) | |
tree | 3c2ecbcc9b55af51aa36d76f6d5796acf7b62bcc /.github | |
parent | 2d50ad52fe930f0ba1df5ab09fee43017b627182 (diff) |
Create step to prepare artifacts before upload.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/tests.yml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 10be3f426..524801fc4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,15 +31,14 @@ jobs: - name: Build Duplicati (Linux and macOS) if: matrix.os != 'windows-latest' - run: | - msbuild -p:Configuration=Release -p:DefineConstants=ENABLE_GTK Duplicati.sln - cp -r Duplicati/Server/webroot Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release/webroot + run: msbuild -p:Configuration=Release -p:DefineConstants=ENABLE_GTK Duplicati.sln - name: Build Duplicati (Windows) if: matrix.os == 'windows-latest' - run: | - msbuild -p:Configuration=Release Duplicati.sln - cp -r Duplicati/Server/webroot Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release/webroot + run: msbuild -p:Configuration=Release Duplicati.sln + + - name: Prepare Artifacts + run: cp -r Duplicati/Server/webroot Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release/webroot - name: Upload Build Artifacts uses: actions/upload-artifact@v2 |