Skip to content

ms-tracing v0.0.1

ms-tracing v0.0.1 #111

Workflow file for this run

name: CI pipeline
on:
push:
tags:
- '*/v*'
jobs:
build-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set environnment package name
run: |
PACKAGE_NAME=$(echo ${GITHUB_REF#refs/*/} | cut -d / -f 1)
echo "PACKAGE_NAME=$PACKAGE_NAME" >> $GITHUB_ENV
- name: Install node
uses: actions/setup-node@v3
with:
node-version: 14
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 7
- name: Build
run: |
cd $PACKAGE_NAME
make release
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: false
prerelease: false
files: ${{ env.PACKAGE_NAME }}/release/${{ env.PACKAGE_NAME }}.tar.gz