Upload installers as GitHub artifacts after build
This commit is contained in:
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@@ -1,13 +1,13 @@
|
|||||||
name: Release
|
name: Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
push:
|
||||||
paths:
|
|
||||||
- 'desktop/angular/**'
|
|
||||||
branches:
|
branches:
|
||||||
- v2.0
|
- v2.0
|
||||||
- feature/new-installer
|
- feature/new-installer
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-prep:
|
release-prep:
|
||||||
@@ -32,7 +32,6 @@ jobs:
|
|||||||
- name: Upload Dist
|
- name: Upload Dist
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: dist
|
|
||||||
path: ./dist/
|
path: ./dist/
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
@@ -57,6 +56,12 @@ jobs:
|
|||||||
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +installer-linux
|
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +installer-linux
|
||||||
# --ci include --no-output flag
|
# --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:
|
installer-windows:
|
||||||
name: Installer windows
|
name: Installer windows
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
@@ -68,9 +73,13 @@ jobs:
|
|||||||
- name: Download Dist
|
- name: Download Dist
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: dist
|
|
||||||
path: dist/
|
path: dist/
|
||||||
|
|
||||||
- name: Build windows artifacts
|
- name: Build windows artifacts
|
||||||
run: powershell -NoProfile -File ./packaging/windows/generate_windows_installers.ps1
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user