Skip to content

Release 1.6.6

Release 1.6.6 #46

Workflow file for this run

name: Publish Release on Tag
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Build package
env:
GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }}
run: ./package.sh ${{github.ref_name}}
- name: Release package and md5
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
nline-plotlyjs-panel-${{github.ref_name}}.zip
nline-plotlyjs-panel-${{github.ref_name}}.zip.md5