Update Chat.swift #38
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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: dotnet restore Windows | |
- name: Build | |
run: dotnet build Windows/Apricot/Apricot.csproj --no-restore --configuration Release | |
# - name: Test | |
# run: dotnet test Windows/Apricot/Apricot.csproj --no-build --verbosity normal | |
- name: Publish | |
run: dotnet publish Windows/Apricot/Apricot.csproj --configuration Release --framework net8.0-windows10.0.17763.0 --output Windows/Apricot/bin/Release/net8.0-windows10.0.17763.0/win10-x64/publish/ --runtime win10-x64 --self-contained true | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Apricot-win-x64 | |
path: Windows/Apricot/bin/Release/net8.0-windows10.0.17763.0/win10-x64/publish/ | |
retention-days: 30 |