Skip to content

chore: Release v0.7.4 #33

chore: Release v0.7.4

chore: Release v0.7.4 #33

Workflow file for this run

on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn
- name: Build
run: yarn vite build && tar -cvf dist.tar ./dist && xz -T0 dist.tar
# - name: Calculate tag name
# id: vars
# run: |
# if [[ $GITHUB_REF == refs/tags/v* ]]; then
# name=${GITHUB_REF:10}
# fi
# echo ::set-output name=val::$name
# echo tag=$name >> $GITHUB_OUTPUT
- name: Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist.tar.xz
file_glob: true
tag: ${{ github.ref }}
overwrite: true