Add images and update planes controller #10
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: .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 | |
# To do | |
#- name: Deploy | |
# 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 |