Skip to content

Try again to fix project name #4

Try again to fix project name

Try again to fix project name #4

Workflow file for this run

name: "Build Text Grab"
on:
push:
branches: [dev]
env:
PROJECT_PATH: "Text-Grab/Text-Grab.csproj"
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: "6.0.x"
- run: dotnet restore ${{ env.PROJECT_PATH }}
- run: dotnet build ${{ env.PROJECT_PATH }} -c Release --no-restore
- run: dotnet test ${{ env.PROJECT_PATH }} -c Release --no-build --no-restore --verbosity normal
- run: dotnet publish ${{ env.PROJECT_PATH }} -c Release --no-build --no-restore --self-contained -r win-x64 -p:PublishSingleFile=true
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: TextGrab
path: TextGrab/bin/Release/net6.0/win-x64/publish