Skip to content

Commit 6602625

Browse files
committed
Merge discvr-20.11 to develop
2 parents 5fc06df + 9b55697 commit 6602625

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish Release
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
generate:
7+
name: Create release-artifacts
8+
# See: https://help.github.com/en/actions/reference/contexts-and-expression-syntax-for-github-actions#github-context
9+
# https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables
10+
if: github.repository == 'BimberLab/DiscvrLabKeyModules'
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: "Build DISCVR"
14+
uses: bimberlabinternal/DevOps/githubActions/discvr-build@master
15+
with:
16+
artifactory_user: ${{secrets.artifactory_user}}
17+
artifactory_password: ${{secrets.artifactory_password}}
18+
# NOTE: permissions are limited on the default secrets.GITHUB_TOKEN, including updating workflows, so use a personal access token
19+
github_token: ${{ secrets.PAT }}
20+
21+
- name: Upload Artifacts
22+
if: github.event_name == 'release' && github.event.action == 'created'
23+
uses: skx/github-action-publish-binaries@master
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
with:
27+
args: /lkDist/discvr/DISCVR-*

0 commit comments

Comments
 (0)