Skip to content

Create action deploy-to-github-pages.yml #20

Create action deploy-to-github-pages.yml

Create action deploy-to-github-pages.yml #20

Workflow file for this run

name: .NET Core
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install dependencies
working-directory: src
run: dotnet restore
- name: Build
working-directory: src
run: dotnet build --configuration Release --no-restore
- name: Test
working-directory: src
run: dotnet test --no-restore --verbosity normal
# - name: Publish artifacts
# uses: actions/upload-artifact@master
# with:
# name: webapp
# path: src/BlazorEmojiSearch/bin/Release/netstandard2.1/publish/wwwroot