build fix

This commit is contained in:
Jan Prochazka
2024-09-03 09:25:59 +02:00
parent eec4aba2f0
commit 014d1a4572

View File

@@ -115,29 +115,29 @@ jobs:
run: | run: |
mkdir artifacts mkdir artifacts
cp app/dist/*x86*.AppImage artifacts/dbgate-premium-beta.AppImage || true cp ../dbgate-merged/app/dist/*x86*.AppImage artifacts/dbgate-premium-beta.AppImage || true
cp app/dist/*win*.exe artifacts/dbgate-premium-beta.exe || true cp ../dbgate-merged/app/dist/*win*.exe artifacts/dbgate-premium-beta.exe || true
cp app/dist/*-mac_x64.dmg artifacts/dbgate-premium-beta.dmg || true cp ../dbgate-merged/app/dist/*-mac_x64.dmg artifacts/dbgate-premium-beta.dmg || true
mv app/dist/*.exe artifacts/ || true mv ../dbgate-merged/app/dist/*.exe artifacts/ || true
mv app/dist/*.zip artifacts/ || true mv ../dbgate-merged/app/dist/*.zip artifacts/ || true
mv app/dist/*.tar.gz artifacts/ || true mv ../dbgate-merged/app/dist/*.tar.gz artifacts/ || true
mv app/dist/*.AppImage artifacts/ || true mv ../dbgate-merged/app/dist/*.AppImage artifacts/ || true
mv app/dist/*.deb artifacts/ || true mv ../dbgate-merged/app/dist/*.deb artifacts/ || true
mv app/dist/*.snap artifacts/ || true mv ../dbgate-merged/app/dist/*.snap artifacts/ || true
mv app/dist/*.dmg artifacts/ || true mv ../dbgate-merged/app/dist/*.dmg artifacts/ || true
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
name: ${{ matrix.os }} name: ${{ matrix.os }}
path: ../dbgate-merged/artifacts path: artifacts
- name: Release - name: Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
with: with:
files: '../dbgate-merged/artifacts/**' files: 'artifacts/**'
prerelease: true prerelease: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}