Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Deprecate Impostor.Http #55

Deprecate Impostor.Http

Deprecate Impostor.Http #55

Workflow file for this run

name: CI
on: ["push", "pull_request"]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: |
~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('Impostor.Http/packages.lock.json') }}
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x
- name: Install dependencies
run: dotnet restore --locked-mode
- name: Build release DLL
run: dotnet pack -c Release
- uses: actions/upload-artifact@v2
with:
name: Impostor.Http.dll
path: Impostor.Http/bin/Release/net7.0/Impostor.Http.dll
- uses: actions/upload-artifact@v2
with:
name: Impostor.Http.nupkg
path: Impostor.Http/bin/Release/Impostor.Http.*.nupkg
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
files: Impostor.Http/bin/Release/net7.0/Impostor.Http.dll