statement browser now updates on delete-actor, further error msg refi… #206
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD | |
on: | |
push: | |
branches: | |
- '*' | |
tags: | |
- 'v*.*.*' # Enforce Semantic Versioning | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup CI Environment | |
uses: yetanalytics/actions/setup-env@v0 | |
- name: Build Bundle | |
run: make bundle | |
- name: Archive Bundle (Branch Pushes) | |
if: ${{ startsWith(github.ref, 'refs/heads') }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: lrs-admin-ui-artifact-${{ github.sha }} | |
path: target/bundle/** | |
- name: Compress Bundle | |
if: ${{ startsWith(github.ref, 'refs/tags') }} | |
run: | # Need to cd so that the zip file doesn't contain the parent dirs | |
cd target/bundle | |
zip -r ../../lrs-admin-ui.zip ./ | |
- name: Craft Draft Release (Tag Pushes) | |
if: ${{ startsWith(github.ref, 'refs/tags') }} | |
uses: softprops/action-gh-release@v1 | |
with: | |
# Defaults: | |
# name: [tag name] | |
# tag_name: github.ref | |
body: "## Release Notes\nTODO: Create great release notes!" | |
draft: true | |
files: lrs-admin-ui.zip |