Update NuGet.Config #235
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- release/* | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build_windows: | |
name: Build Windows Desktop | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
- name: Build ChatGPT.UI.Desktop | |
run: dotnet build src/ChatGPT.UI.Desktop/ChatGPT.UI.Desktop.csproj --configuration Release | |
build_windows_browser: | |
name: Build Windows Browser | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
- name: Install workloads | |
run: dotnet workload install wasm-tools wasm-experimental | |
- name: Build ChatGPT.UI.Browser | |
run: dotnet build src/ChatGPT.UI.Browser/ChatGPT.UI.Browser.csproj --configuration Release | |
build_windows_android: | |
name: Build Windows Android | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'microsoft' | |
java-version: '21' | |
- name: Install workloads | |
run: dotnet workload install android | |
- name: Build ChatGPT.UI.Android | |
run: dotnet build src/ChatGPT.UI.Android/ChatGPT.UI.Android.csproj --configuration Release | |
build_windows_ios: | |
name: Build Windows iOS | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
- name: Install workloads | |
run: dotnet workload install ios | |
- name: Build ChatGPT.UI.iOS | |
run: dotnet build src/ChatGPT.UI.iOS/ChatGPT.UI.iOS.csproj --configuration Release | |
build_linux_desktop: | |
name: Build Ubuntu Desktop | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
- name: Build ChatGPT.UI.Desktop | |
run: dotnet build src/ChatGPT.UI.Desktop/ChatGPT.UI.Desktop.csproj --configuration Release | |
build_linux_android: | |
name: Build Ubuntu Android | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v3 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
- name: Install workloads | |
run: dotnet workload install android | |
- name: Build ChatGPT.UI.Android | |
run: dotnet build src/ChatGPT.UI.Android/ChatGPT.UI.Android.csproj --configuration Release | |
build_linux_browser: | |
name: Build Ubuntu Browser | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
- name: Install workloads | |
run: dotnet workload install wasm-tools wasm-experimental | |
- name: Build ChatGPT.UI.Browser | |
run: dotnet build src/ChatGPT.UI.Browser/ChatGPT.UI.Browser.csproj --configuration Release | |
build_macos_desktop: | |
name: Build macOS Desktop | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
- name: Build ChatGPT.UI.Desktop | |
run: dotnet build src/ChatGPT.UI.Desktop/ChatGPT.UI.Desktop.csproj --configuration Release | |
build_macos_ios: | |
name: Build macOS iOS | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set XCode Version | |
run: sudo xcode-select -s /Applications/Xcode_14.3.app | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
- name: Install workloads | |
run: dotnet workload install ios | |
- name: Build ChatGPT.UI.iOS | |
run: dotnet build src/ChatGPT.UI.iOS/ChatGPT.UI.iOS.csproj --configuration Release | |
build_macos_browser: | |
name: Build macOS Browser | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
- name: Install workloads | |
run: dotnet workload install wasm-tools wasm-experimental | |
- name: Build ChatGPT.UI.Browser | |
run: dotnet build src/ChatGPT.UI.Browser/ChatGPT.UI.Browser.csproj --configuration Release |