Skip to content

Merge branch 're-route-path-updates' into re-route-impl-2 #462

Merge branch 're-route-path-updates' into re-route-impl-2

Merge branch 're-route-path-updates' into re-route-impl-2 #462

Workflow file for this run

name: CD
on:
push:
branches:
- '*'
tags:
- 'v*.*.*' # Enforce Semantic Versioning
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup CI Environment
uses: yetanalytics/action-setup-env@v1
- name: Build Bundle
run: make bundle
- name: Archive Bundle (Branch Pushes)
if: ${{ startsWith(github.ref, 'refs/heads') }}
uses: actions/upload-artifact@v4
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