Skip to content

chore(version): upgrade version to v1.7.0 #41

chore(version): upgrade version to v1.7.0

chore(version): upgrade version to v1.7.0 #41

Workflow file for this run

name: Build and Release
on:
workflow_dispatch:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install tfx-cli
run: npm install -g tfx-cli
- name: Package
run: make package
- name: Publish to Azure DevOps Marketplace
if: github.ref_type == 'tag' && startsWith(github.ref_name, 'v')
env:
MSFT_PERSONAL_ACCESS_TOKEN: ${{ secrets.SC_MSFT_PUBLISH_TOKEN }}
PUBLISHER_ID: ${{ vars.PUBLISHER_ID }}
run: |
tfx extension publish --manifest-globs vss-extension.json vss-extension-release.json --publisher $PUBLISHER_ID --token $MSFT_PERSONAL_ACCESS_TOKEN
- name: Create Draft Release
if: github.ref_type == 'tag' && startsWith(github.ref_name, 'v')
uses: softprops/action-gh-release@v1
with:
draft: true
title: Release ${{ github.ref_name }}
files: ./*.vsix