File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 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-*
You can’t perform that action at this time.
0 commit comments