Skip to content

Commit cf34cd0

Browse files
authored
Update max-external.yml
1 parent 33f6495 commit cf34cd0

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/max-external.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ on:
66
- master
77
- develop
88
- "release/*"
9-
tags:
10-
- "*.*.*"
119

1210
pull_request:
1311
branches:
1412
- master
1513
- develop
1614
- "release/*"
17-
15+
16+
release:
17+
types: [published]
18+
1819
workflow_dispatch:
1920

2021
jobs:
@@ -43,3 +44,11 @@ jobs:
4344
with:
4445
name: btrack-max-external
4546
path: plugins/max-external/btrack~/output/btrack~.zip
47+
48+
- name: Upload to GitHub Release
49+
if: github.event_name == 'release'
50+
uses: softprops/action-gh-release@v1
51+
with:
52+
files: plugins/max-external/btrack~/output/btrack~.zip
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)