Skip to content

Commit

Permalink
ci: lit v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akrck02 committed Jan 3, 2025
1 parent 2ec09ed commit 32abc64
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 38 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'latest'

- run: npm install


- name : version
run: echo "::set-output name=version::$(node version.js)"
run: echo "::set-output name=version::$(cat version)"
id: version

- name : version name
run: echo "::set-output name=version-name::$(node version.js true)"
id: version-name


- name: build
run: npm run build
run: lit -f styles.env

- name: rename build
run: mv dist/BubbleUI.css dist/BubbleUI-v${{ steps.version.outputs.version }}.css
run: mv dist/bubble.ui.css dist/bubble.ui-v${{ steps.version.outputs.version }}.css

- name: Create a Release of commit
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: ${{ github.token }}
automatic_release_tag: v${{ steps.version.outputs.version }}
prerelease: false
title: ${{ steps.version.outputs.version }} - ${{ steps.version-name.outputs.version-name }}
title: ${{ steps.version.outputs.version }}
files: |
LICENSE
dist/*.css
Binary file added lit
Binary file not shown.
4 changes: 4 additions & 0 deletions styles.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INPUT=./src/css/master.css
OUTPUT=./dist
NAME=bubble.ui.css
READABLE=false
1 change: 1 addition & 0 deletions version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0.0
19 changes: 0 additions & 19 deletions version.js

This file was deleted.

4 changes: 0 additions & 4 deletions version.json

This file was deleted.

0 comments on commit 32abc64

Please sign in to comment.