Skip to content

Release archive

Release archive #12

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
workflow_dispatch:
permissions:
contents: write
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: yarn install
uses: borales/actions-yarn@v4
with:
cmd: install
- name: yarn build
uses: borales/actions-yarn@v4
with:
cmd: build
- name: Create release folder
run: mkdir -p release
- name: Make zip
uses: thedoctor0/[email protected]
with:
type: zip
directory: dist
exclusions: release
filename: release/time-card-extension.zip
- name: Release
uses: softprops/action-gh-release@v1
with:
files: release/time-card-extension.*