Skip to content

Commit

Permalink
Upload installers as GitHub artifacts after build
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Jan 27, 2025
1 parent b3de7da commit 73552bd
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -32,7 +32,6 @@ jobs:
- name: Upload Dist
uses: actions/upload-artifact@v4
with:
name: dist
path: ./dist/
if-no-files-found: error

Expand All @@ -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
Expand All @@ -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

0 comments on commit 73552bd

Please sign in to comment.