Skip to content

Release 0.0.3 (#119) #3

Release 0.0.3 (#119)

Release 0.0.3 (#119) #3

Workflow file for this run

name: Publish
on:
push:
tags:
- v*
jobs:
release:
if: github.repository == 'sourcegraph/cody-vs'
runs-on: windows-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Install Cake.Tool
run: dotnet tool install --global Cake.Tool
- name: Restore NuGet packages
run: nuget restore src\Cody.Core\Cody.Core.csproj -PackagesDirectory src\packages
- name: Run Cake script
env:
CODY_VS_MARKETPLACE_RELEASE_TOKEN: ${{ secrets.CODY_VS_MARKETPLACE_RELEASE_TOKEN }}
run: |
cd src
dotnet tool restore
corepack enable
corepack install --global [email protected]
- name: Publish to marketplace
env:
CODY_VS_MARKETPLACE_RELEASE_TOKEN: ${{ secrets.CODY_VS_MARKETPLACE_RELEASE_TOKEN }}
run: dotnet cake --target Publish