forked from ucfopen/Materia
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 876 Bytes
/
build-release.yml
File metadata and controls
30 lines (27 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Build Release
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-alpha[0-9]+'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
# run_build_github_release_package.sh relies on the current git user info
- run: git config --global user.email "lst@ucf.edu"
- run: git config --global user.name "ucfcdl-robot"
- name: Build Packages
run: cd docker && ./run_build_github_release_package.sh
- name: Upload to Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: materia-pkg*
file_glob: true
tag: ${{ github.ref }}
overwrite: true