Skip to content

chore(deps): bump Microsoft.Kiota.Http.HttpClientLibrary #1081

chore(deps): bump Microsoft.Kiota.Http.HttpClientLibrary

chore(deps): bump Microsoft.Kiota.Http.HttpClientLibrary #1081

Workflow file for this run

name: Release solution
on:
workflow_dispatch:
push:
# paths: ['src/**', '.github/workflows/**', 'msgraph-cli-core.sln']
jobs:
build:
runs-on: ubuntu-latest
env:
MS_NUGET_URL: https://nuget.pkg.github.com/microsoft/index.json
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET Core SDK 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- uses: actions/cache@v4
with:
path: ~/.nuget/packages
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Install dependencies
run: dotnet restore
- name: Test
run: dotnet test --no-restore
- id: publish
name: Publish
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: dotnet publish --no-restore --verbosity normal -c Release
- id: pack
name: Pack
if: ${{ steps.publish.outcome == 'success' }}
run: dotnet pack --no-restore --no-build --verbosity normal -c Release
- name: Upload Nuget Package
if: ${{ steps.pack.outcome == 'success' }}
uses: actions/upload-artifact@v4
with:
name: drop
path: |
./src/Microsoft.Graph.Cli.Core/bin/Release/*.nupkg