Skip to content

Commit d372569

Browse files
committed
Publish release artifacts
1 parent e1ae2ea commit d372569

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release.yml

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

0 commit comments

Comments
 (0)