Fix build output paths (guessing for windows and linux for now)

This commit is contained in:
Martin Kleinschrodt 2022-03-22 08:37:05 +01:00
parent fb9273d61d
commit a934ccd59b
1 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ jobs:
TARGET_DIR: ${{ github.event.inputs.environment == 'Production' && 'release' || 'debug' }}
with:
name: padloc-linux-${{ github.sha }}-unsigned.AppImage
path: packages/tauri/src-tauri/target/${{ env.TARGET_DIR }}/bundle/appimage/padloc*.AppImage
path: packages/tauri/src-tauri/target/${{ env.TARGET_DIR }}/bundle/linux/padloc*.AppImage
if-no-files-found: error
- name: Archive deb
uses: actions/upload-artifact@v2
@ -80,7 +80,7 @@ jobs:
TARGET_DIR: ${{ github.event.inputs.environment == 'Production' && 'release' || 'debug' }}
with:
name: padloc-linux-${{ github.sha }}-unsigned.deb
path: packages/tauri/src-tauri/target/${{ env.TARGET_DIR }}/bundle/deb/*.deb
path: packages/tauri/src-tauri/target/${{ env.TARGET_DIR }}/bundle/linux/*.deb
if-no-files-found: error
- name: Archive dmg
uses: actions/upload-artifact@v2
@ -89,7 +89,7 @@ jobs:
TARGET_DIR: ${{ github.event.inputs.environment == 'Production' && 'release' || 'debug' }}
with:
name: padloc-macos-${{ github.sha }}-unsigned.dmg
path: packages/tauri/src-tauri/target/${{ env.TARGET_DIR }}/bundle/dmg/*.dmg
path: packages/tauri/src-tauri/target/${{ env.TARGET_DIR }}/bundle/macos/*.dmg
if-no-files-found: error
- name: Archive app
uses: actions/upload-artifact@v2
@ -107,5 +107,5 @@ jobs:
TARGET_DIR: ${{ github.event.inputs.environment == 'Production' && 'release' || 'debug' }}
with:
name: padloc-windows-${{ github.sha }}-unsigned.msi
path: packages/tauri/src-tauri/target/${{ env.TARGET_DIR }}/bundle/msi/*.msi
path: packages/tauri/src-tauri/target/${{ env.TARGET_DIR }}/bundle/windows/*.msi
if-no-files-found: error