From 52aed213b728d2305d595d4d90449470f1df27b6 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 7 Jan 2021 09:30:40 +0100 Subject: [PATCH] copy latest.yaml file --- .github/workflows/build-app.yaml | 14 ++++++++++++-- app/package.json | 3 ++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-app.yaml b/.github/workflows/build-app.yaml index f7e3cc9f5..4c547cfcb 100644 --- a/.github/workflows/build-app.yaml +++ b/.github/workflows/build-app.yaml @@ -53,8 +53,7 @@ jobs: mv app/dist/*.deb artifacts || true mv app/dist/*.AppImage artifacts || true mv app/dist/*.dmg artifacts || true - - mv app/dist/latest.yml artifacts/latest.yml || true + - name: Copy artifacts Win if: matrix.os == 'windows-2016' run: | @@ -63,7 +62,18 @@ jobs: mv app/dist/*.zip artifacts/dbgate-windows.zip mv app/dist/*.exe artifacts || true + mv app/dist/latest.yml artifacts/latest.yml || true + - name: Copy latest-linux.yml + if: matrix.os == 'ubuntu-18.04' + run: | + mv app/dist/latest-linux.yml artifacts/latest-linux.yml || true + + - name: Copy latest-mac.yml + if: matrix.os == 'macOS-10.14' + run: | + mv app/dist/latest-mac.yml artifacts/latest-mac.yml || true + - name: Upload artifacts uses: actions/upload-artifact@v1 with: diff --git a/app/package.json b/app/package.json index 6996f36ab..949b35501 100644 --- a/app/package.json +++ b/app/package.json @@ -22,7 +22,8 @@ }, "linux": { "target": [ - "AppImage" + "AppImage", + "deb" ], "icon": "icon.png", "category": "Development",