-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
78 additions
and
80 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: .NET 7 Build Pipeline | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest # or ubuntu-latest or macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
|
||
- name: Setup .NET 7 SDK | ||
uses: actions/setup-dotnet@v2 | ||
with: | ||
dotnet-version: 7.0.x # Specify the .NET version | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore | ||
|
||
- name: Build | ||
run: dotnet build --no-restore -c Release | ||
|
||
- name: Run tests | ||
run: dotnet test --no-build -c Release --verbosity normal | ||
|
||
- name: Publish | ||
run: dotnet publish -c Release -o ./publish | ||
|
||
- name: Deploy | ||
# To do | ||
|
||
# This step archives the published application to be used in a release or deployment job | ||
- name: Archive production artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: published-app | ||
path: ./publish |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Comments to Code | ||
|
||
## Sample 1 (Method Get Planes by Year) | ||
|
||
1. Select `PlaneController.cs` | ||
|
||
2. Type `// Method to get planes by year` | ||
|
||
## Sample 2 (New Property in a different file) | ||
|
||
1. Select `Plane.cs` | ||
|
||
# Some CoPilot Features in the IDE |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
## Installing CoPilot Chat | ||
|
||
It's BETA for everyone | ||
|
||
- Extension | ||
|
||
## Question 1: | ||
|
||
1. Select `PlaneController.cs` | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Go to github.com/CoPilot | ||
|
||
## Installing CoPilot Chat | ||
|
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