Skip to content

Commit

Permalink
ci: auto-upload to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
alexVinarskis committed Feb 16, 2025
1 parent 72c0ccf commit 1620a3b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- master
- '*package*'
release:
types:
- created

jobs:
lint:
Expand Down Expand Up @@ -39,9 +42,15 @@ jobs:
name: ${{ env.MSI_FILE }}
path: '*.msi'
if-no-files-found: error
- name: Publish to Release
if: github.event_name == 'release'
uses: softprops/action-gh-release@v2
with:
files: ${{ env.MSI_FILE }}

build-linux:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -72,3 +81,10 @@ jobs:
name: ${{ env.TAR_FILE }}
path: '*.tar*'
if-no-files-found: error
- name: Publish to Release
if: github.event_name == 'release'
uses: softprops/action-gh-release@v2
with:
files: |
${{ env.DEB_FILE }}
${{ env.TAR_FILE }}

0 comments on commit 1620a3b

Please sign in to comment.