changed manifest build

This commit is contained in:
SPRINX0\prochazka 2024-09-05 11:52:53 +02:00
parent 6940bb4556
commit b80c428224
3 changed files with 17 additions and 26 deletions

View File

@ -30,6 +30,9 @@ jobs:
- name: yarn adjustPackageJson - name: yarn adjustPackageJson
run: | run: |
yarn adjustPackageJson yarn adjustPackageJson
- name: setUpdaterChannel beta
run: |
node setUpdaterChannel beta
- name: yarn set timeout - name: yarn set timeout
run: | run: |
yarn config set network-timeout 100000 yarn config set network-timeout 100000
@ -100,6 +103,9 @@ jobs:
mv app/dist/*.snap artifacts/ || true mv app/dist/*.snap artifacts/ || true
mv app/dist/*.dmg artifacts/ || true mv app/dist/*.dmg artifacts/ || true
mv app/dist/*.yml artifacts/ || true
rm artifacts/builder-debug.yml
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:

View File

@ -61,6 +61,11 @@ jobs:
cd .. cd ..
cd dbgate-merged cd dbgate-merged
node adjustPackageJsonPremium node adjustPackageJsonPremium
- name: setUpdaterChannel premium
run: |
cd ..
cd dbgate-merged
node setUpdaterChannel premium
- name: yarn set timeout - name: yarn set timeout
run: | run: |
cd .. cd ..
@ -131,20 +136,8 @@ jobs:
mv ../dbgate-merged/app/dist/*.deb artifacts/ || true mv ../dbgate-merged/app/dist/*.deb artifacts/ || true
mv ../dbgate-merged/app/dist/*.dmg artifacts/ || true mv ../dbgate-merged/app/dist/*.dmg artifacts/ || true
- name: Copy latest.yml (windows) mv app/dist/*.yml artifacts/ || true
if: matrix.os == 'windows-2022' rm artifacts/builder-debug.yml
run: |
mv ../dbgate-merged/app/dist/latest.yml artifacts/latest-premium.yml || true
- name: Copy latest-linux.yml
if: matrix.os == 'ubuntu-22.04'
run: |
mv ../dbgate-merged/app/dist/latest-linux.yml artifacts/latest-premium-linux.yml || true
- name: Copy latest-mac.yml
if: matrix.os == 'macos-12'
run: |
mv ../dbgate-merged/app/dist/latest-mac.yml artifacts/latest-premium-mac.yml || true
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1

View File

@ -110,6 +110,9 @@ jobs:
mv app/dist/*.dmg artifacts/ || true mv app/dist/*.dmg artifacts/ || true
mv app/dist/*.snap artifacts/dbgate-latest.snap || true mv app/dist/*.snap artifacts/dbgate-latest.snap || true
mv app/dist/*.yml artifacts/ || true
rm artifacts/builder-debug.yml
# - name: Copy artifacts Linux, MacOs # - name: Copy artifacts Linux, MacOs
# if: matrix.os != 'windows-2016' # if: matrix.os != 'windows-2016'
# run: | # run: |
@ -134,22 +137,11 @@ jobs:
# mv app/dist/latest.yml artifacts/latest.yml || true # mv app/dist/latest.yml artifacts/latest.yml || true
- name: Copy latest.yml (windows) - name: Copy PAD file
if: matrix.os == 'windows-2022' if: matrix.os == 'windows-2022'
run: | run: |
mv app/dist/latest.yml artifacts/latest.yml || true
mv app/dist/dbgate-pad.xml artifacts/ || true mv app/dist/dbgate-pad.xml artifacts/ || true
- name: Copy latest-linux.yml
if: matrix.os == 'ubuntu-22.04'
run: |
mv app/dist/latest-linux.yml artifacts/latest-linux.yml || true
- name: Copy latest-mac.yml
if: matrix.os == 'macos-12'
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: