white toolbar and side navigator #143
Workflow file for this run
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: Release UI Bundle | |
on: | |
# Triggers the workflow on push events for any branch | |
push: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
release_ui_bundle: | |
runs-on: ubuntu-latest | |
name: "Build and release UI bundle" | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' | |
steps: | |
- name: Set output | |
id: vars | |
run: echo ::set-output name=short_ref::$(echo ${GITHUB_REF}|sed -r 's#^refs/(heads|tags)/##g') | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js for use with actions | |
uses: actions/[email protected] | |
with: | |
version: 12.x | |
- name: Install NPM | |
run: npm install | |
- name: Create UI bundle | |
run: gulp bundle | |
- name: Create Release | |
id: create_release | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
automatic_release_tag: ui-bundle/${{ steps.vars.outputs.short_ref }} | |
files: | | |
build/ui-bundle.zip | |
prerelease: false | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |