Skip to content

Commit 78b1d41

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 616c3a6 + d24a50a commit 78b1d41

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/assets_artifact_build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- '*'
1010
- "!l10n_*" # Dont test localization branches
11+
tags:
12+
- 'v*.*.*'
13+
- 'v*.*.*-**'
1114
pull_request:
1215
branches:
1316
- '*'
@@ -17,6 +20,8 @@ jobs:
1720
assets_artifact_build:
1821
name: Build assets artifact
1922
runs-on: ubuntu-22.04
23+
permissions:
24+
contents: write
2025

2126
env:
2227
APP_ENV: prod
@@ -90,3 +95,10 @@ jobs:
9095
with:
9196
name: Full Part-DB including dependencies and built assets
9297
path: /tmp/partdb_with_assets.zip
98+
99+
- name: Upload assets as release attachment
100+
if: startsWith(github.ref, 'refs/tags/')
101+
run: |
102+
gh release upload "${{ github.ref_name }}" /tmp/partdb_assets.zip /tmp/partdb_with_assets.zip --clobber
103+
env:
104+
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)