Skip to content

Updated documentation #23

Updated documentation

Updated documentation #23

name: Branch Main Build
on:
push:
branches:
- main
paths:
- '**.csproj'
- '**.razor'
- '**.cs'
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout to the repository
uses: actions/checkout@v4
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@2
- name: Setup Nuget Cache
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Install dependencies
run: nuget restore TgDownloader.sln
- name: Build app for Release Any CPU
run: msbuild TgDownloader.sln -t:rebuild -verbosity:quiet -property:Configuration=Release -property:Platform="Any CPU"