-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
725 changed files
with
31,779 additions
and
19,885 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# @microsoft/octo-semantickernel-pr-dotnet owns any files in the dotnet | ||
# directory at the root of the repository and any of its | ||
# subdirectories. | ||
/dotnet/ @microsoft/octo-semantickernel-pr-dotnet | ||
|
||
# @microsoft/octo-semantickernel-pr-python owns any files in the python | ||
# directory at the root of the repository and any of its | ||
# subdirectories. | ||
/python/ @microsoft/octo-semantickernel-pr-python | ||
|
||
# @microsoft/octo-semantickernel-pr-python owns any files in the java | ||
# directory at the root of the repository and any of its | ||
# subdirectories. | ||
/java/ @microsoft/octo-semantickernel-pr-java | ||
|
||
# @microsoft/octo-semantickernel-pr-apps owns any files in the samples | ||
# directory at the root of the repository and any of its | ||
# subdirectories. | ||
/samples/ @microsoft/octo-semantickernel-pr-apps |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# | ||
# This workflow will package the Copilot Chat application for deployment. | ||
# | ||
|
||
name: copilot-chat-package | ||
|
||
on: | ||
pull_request: | ||
branches: [ "main", "feature*" ] | ||
paths: | ||
- 'samples/apps/copilot-chat-app/**' | ||
push: | ||
branches: [ "main", "feature*" ] | ||
paths: | ||
- 'samples/apps/copilot-chat-app/**' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- { dotnet: '6.0', configuration: Release, os: ubuntu-latest } | ||
|
||
runs-on: ${{ matrix.os }} | ||
env: | ||
NUGET_CERT_REVOCATION_MODE: offline | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
clean: true | ||
|
||
- name: Pull container dotnet/sdk:${{ matrix.dotnet }} | ||
run: docker pull mcr.microsoft.com/dotnet/sdk:${{ matrix.dotnet }} | ||
|
||
- name: Package Copilot Chat WebAPI | ||
run: | | ||
chmod +x $(pwd)/samples/apps/copilot-chat-app/deploy/package-webapi.sh; | ||
docker run --rm -v $(pwd):/app -w /app -e GITHUB_ACTIONS='true' mcr.microsoft.com/dotnet/sdk:${{ matrix.dotnet }} /bin/sh -c "/app/samples/apps/copilot-chat-app/deploy/package-webapi.sh --no-zip"; | ||
- name: Set version tag | ||
id: versiontag | ||
run: | | ||
VERSION_TAG="$(date +'%Y%m%d').${{ github.run_number }}.${{ github.run_attempt }}" | ||
echo $VERSION_TAG | ||
echo "versiontag=$VERSION_TAG" >> $GITHUB_OUTPUT | ||
- name: Upload package to artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: copilotchat-webapi-${{ steps.versiontag.outputs.versiontag }} | ||
path: ./samples/apps/copilot-chat-app/deploy/publish |
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
Oops, something went wrong.