mirror of
https://github.com/safing/portmaster
synced 2025-04-18 09:59:09 +00:00
Upload installers as GitHub artifacts after build
This commit is contained in:
parent
b3de7da9f7
commit
73552bd9b5
1 changed files with 14 additions and 5 deletions
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue