mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
explicit set artifact name
This commit is contained in:
67
.github/workflows/build-app.yaml
vendored
67
.github/workflows/build-app.yaml
vendored
@@ -42,39 +42,52 @@ jobs:
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }} # token for electron publish
|
||||
|
||||
- name: Copy artifacts Linux, MacOs
|
||||
if: matrix.os != 'windows-2016'
|
||||
- name: Copy artifacts
|
||||
run: |
|
||||
mkdir artifacts
|
||||
mkdir artifacts
|
||||
|
||||
cp app/dist/*.AppImage artifacts/ || true
|
||||
cp app/dist/*.dmg artifacts/ || true
|
||||
cp app/dist/*.deb artifacts/ || true
|
||||
|
||||
mv app/dist/*.deb artifacts/dbgate-linux.deb || true
|
||||
mv app/dist/*.AppImage artifacts/dbgate-linux.AppImage || true
|
||||
mv app/dist/*.dmg artifacts/dbgate-mac.dmg || true
|
||||
|
||||
- name: Copy artifacts Win
|
||||
if: matrix.os == 'windows-2016'
|
||||
run: |
|
||||
mkdir artifacts
|
||||
|
||||
cp app/dist/*.exe artifacts/ || true
|
||||
|
||||
mv app/dist/*.exe artifacts/dbgate-windows.exe
|
||||
mv app/dist/*.exe artifacts/ || true
|
||||
mv app/dist/*.AppImage artifacts/ || true
|
||||
mv app/dist/*.deb artifacts/ || true
|
||||
mv app/dist/*.dmg 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: Copy artifacts Linux, MacOs
|
||||
# if: matrix.os != 'windows-2016'
|
||||
# run: |
|
||||
# mkdir artifacts
|
||||
|
||||
# cp app/dist/*.AppImage artifacts/ || true
|
||||
# cp app/dist/*.dmg artifacts/ || true
|
||||
# cp app/dist/*.deb artifacts/ || true
|
||||
|
||||
# mv app/dist/*.deb artifacts/dbgate-linux.deb || true
|
||||
# mv app/dist/*.AppImage artifacts/dbgate-linux.AppImage || true
|
||||
# mv app/dist/*.dmg artifacts/dbgate-mac.dmg || true
|
||||
|
||||
# - name: Copy artifacts Win
|
||||
# if: matrix.os == 'windows-2016'
|
||||
# run: |
|
||||
# mkdir artifacts
|
||||
|
||||
# cp app/dist/*.exe artifacts/ || true
|
||||
|
||||
# mv app/dist/*.exe artifacts/dbgate-windows.exe
|
||||
|
||||
# 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
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
"mac": {
|
||||
"category": "database",
|
||||
"icon": "icon512.png",
|
||||
"artifactName": "dbgate-mac-${version}.${ext}",
|
||||
"publish": [
|
||||
"github"
|
||||
]
|
||||
@@ -27,6 +28,7 @@
|
||||
"deb"
|
||||
],
|
||||
"icon": "icon.png",
|
||||
"artifactName": "dbgate-linux-${version}.${ext}",
|
||||
"category": "Development",
|
||||
"synopsis": "Database administration tool for MS SQL, MySQL and PostgreSQL",
|
||||
"publish": [
|
||||
@@ -37,6 +39,7 @@
|
||||
"target": [
|
||||
"nsis"
|
||||
],
|
||||
"artifactName": "dbgate-windows-${version}.${ext}",
|
||||
"icon": "icon.ico",
|
||||
"publish": [
|
||||
"github"
|
||||
|
||||
Reference in New Issue
Block a user