From a159afce6243a1bffe94082430ead47bd2ca5bcd Mon Sep 17 00:00:00 2001 From: alkwa-msft <79329532+alkwa-msft@users.noreply.github.com> Date: Thu, 28 Jul 2022 11:10:19 -0700 Subject: [PATCH] Update dotnet.yml --- .github/workflows/dotnet.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index e6f9fe1..7fa65c9 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -24,3 +24,15 @@ jobs: run: dotnet build AzureCommunicationServicesGetStartedApis.csproj - name: Publish run: dotnet publish AzureCommunicationServicesGetStartedApis.csproj + - name: Create Release + shell: bash + run: | + release_name=Group-Calling + unset CI + 7z a -tzip -r "AzureCommunicationServicesGetStartedApis.zip" ./bin/Debug/netcoreapp3.1/publish/* + - name: Upload Release + uses: softprops/action-gh-release@v1 + with: + files: "AzureCommunicationServicesGetStartedApis.zip" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}