Skip to content

Commit

Permalink
Remove azure pipelines yml and add github workflows/actions
Browse files Browse the repository at this point in the history
  • Loading branch information
skylarnam committed Feb 21, 2023
1 parent f1c8303 commit 28c4bdf
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 39 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/actions-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright (C) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license. See LICENSE.txt in the project root for license information.

name: PR Build

on: [ push, pull_request ]

env:
# Path to the project source.
PROJECT_PATH: VSConfigFinder

# Path to the test project source.
TEST_PROJECT_PATH: VSConfigFinder.Test

# Configuration type to build.
BUILD_CONFIGURATION: Release

jobs:
build:
runs-on: windows-2022

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install .NET Core SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore --configuration ${{ env.BUILD_CONFIGURATION }} ${{ env.PROJECT_PATH }}

- name: Test
run: dotnet test --no-build --verbosity normal --configuration ${{ env.BUILD_CONFIGURATION }} ${{ env.TEST_PROJECT_PATH }}
39 changes: 0 additions & 39 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit 28c4bdf

Please sign in to comment.