Skip to content

build: mage

build: mage #5

Workflow file for this run

name: release
on:
push:
tags:
- '*'
jobs:
build_release:
name: build_release
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: setup-node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install # will run `yarn install` command
- name: build
run: yarn build
-
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
-
name: Run Mage
uses: magefile/mage-action@v3
- name: zip
run: yarn zip
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
info8fcc-greptimedb-datasource.zip