Skip to content

update readme

update readme #12

Workflow file for this run

name: Build and Release
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
- name: Install dependencies
run: npm ci
- name: Bump version
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
npm version patch -m "Bump to %s"
git push
- name: Build app
run: npm run build
- name: Get version
id: packagejson
uses: martinbeentjes/npm-get-version-action@v1.1.0
- name: Upload Release
uses: ncipollo/release-action@v1.12.0
with:
artifacts: 'mui-${{ steps.packagejson.outputs.current-version }}.tar.gz'
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.packagejson.outputs.current-version }}