Skip to content

feat: 更新版本号 #8

feat: 更新版本号

feat: 更新版本号 #8

Workflow file for this run

name: release
on:
push:
# Pattern matched against refs/tags
tags:
- '*' # Push events to every tag not containing /
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
-
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
-
name: Set up Mage
uses: magefile/mage-action@v3
with:
install-only: true
-
name: Show Mage version
run: mage --version
-
name: Build
run: |
yarn install
go mod vendor
npm run buildPkg
-
name: Release
uses: softprops/action-gh-release@v2
with:
files: tencent-cls-grafana-datasource.zip