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