Bump the nuget group with 2 updates #304
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
env: | |
CONFIGURATION: Release | |
DOTNET_VERSION: 9.0.x | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install Package libmsquic | |
run: | | |
sudo apt update | |
sudo apt install -y libmsquic | |
shell: sh | |
- name: Build | |
run: dotnet build CHttpTools.sln -c ${{ env.CONFIGURATION }} | |
- name: Test | |
run: | | |
dotnet run --no-build --project tests/CHttp.Tests/CHttp.Tests.csproj -c ${{ env.CONFIGURATION }} | |
dotnet run --no-build --project tests/CHttp.Api.Tests/CHttp.Api.Tests.csproj -c ${{ env.CONFIGURATION }} | |
dotnet run --no-build --project tests/CHttpExecutor.Tests/CHttpExecutor.Tests.csproj -c ${{ env.CONFIGURATION }} | |
dotnet run --no-build --project tests/TestWebApplication.Tests/TestWebApplication.Tests.csproj -c ${{ env.CONFIGURATION }} | |
dotnet run --no-build --project tests/CHttpServer.Tests/CHttpServer.Tests.csproj -c ${{ env.CONFIGURATION }} | |
- name: Publish VSCE | |
run: | | |
pushd ./src/VSCodeExt/ | |
npm install | |
npm run vsce-deploy | |
popd |