diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3e44e08..d89171fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,13 +1,13 @@ name: Release on: - workflow_dispatch: push: - paths: - - 'desktop/angular/**' branches: - v2.0 - feature/new-installer + tags: + - v* + workflow_dispatch: jobs: release-prep: @@ -32,7 +32,6 @@ jobs: - name: Upload Dist uses: actions/upload-artifact@v4 with: - name: dist path: ./dist/ if-no-files-found: error @@ -57,6 +56,12 @@ jobs: run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +installer-linux # --ci include --no-output flag + - name: Upload Installers + uses: actions/upload-artifact@v4 + with: + path: ./dist/linux_amd64/ + if-no-files-found: error + installer-windows: name: Installer windows runs-on: windows-latest @@ -68,9 +73,13 @@ jobs: - name: Download Dist uses: actions/download-artifact@v4 with: - name: dist path: dist/ - name: Build windows artifacts run: powershell -NoProfile -File ./packaging/windows/generate_windows_installers.ps1 + - name: Upload Installers + uses: actions/upload-artifact@v4 + with: + path: ./dist/windows_amd64/ + if-no-files-found: error