Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to have states in labels #92

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release Workflow

on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16

- name: Install Dependencies
run: npm install

- name: Build Project
run: npm run build

- name: Get Tag Name
id: tag_name
run: echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"

- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
id: create_release
uses: softprops/action-gh-release@v1
with:
files: dist/tabbed-card.js
tag_name: ${{ steps.tag_name.outputs.tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 changes: 16 additions & 16 deletions .github/workflows/hacs.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: HACS Action
#name: HACS Action

on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"
#on:
# push:
# pull_request:
# schedule:
# - cron: "0 0 * * *"

jobs:
hacs:
name: HACS Action
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: HACS Action
uses: "hacs/action@main"
with:
category: "plugin"
#jobs:
# hacs:
# name: HACS Action
# runs-on: "ubuntu-latest"
# steps:
# - uses: "actions/checkout@v3"
# - name: HACS Action
# uses: "hacs/action@main"
# with:
# category: "plugin"
Loading