From e1020f7ed57a89881fe27ee96fb3949bdc8a9245 Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Tue, 4 Jun 2024 12:45:27 -0700 Subject: [PATCH 1/9] Add workflows for build and release --- .github/README.md | 17 ++++++++ .github/workflows/main.yml | 72 ++++++++++++++++++++++++++++++++++ .github/workflows/release.yml | 73 +++++++++++++++++++++++++++++++++++ 3 files changed, 162 insertions(+) create mode 100644 .github/README.md create mode 100644 .github/workflows/main.yml create mode 100644 .github/workflows/release.yml diff --git a/.github/README.md b/.github/README.md new file mode 100644 index 00000000..b5a5448c --- /dev/null +++ b/.github/README.md @@ -0,0 +1,17 @@ +The workflows in this repository try to follow existing, basic samples with little customization. + +## main.yml +We use a standard dotnet build/test/pack workflow +https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +- Build the solution using the dotnet cli + - Strong name the assemblies using a key stored in the repository + https://github.com/dotnet/runtime/blob/main/docs/project/strong-name-signing.md +- Test the built libraries + - Use a repository secret to hold the OpenAI token used for live testing + https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions +- Package the built libraries +- Publish the package as a GitHub Release +- Publish the package to a GitHub NuGet registry + https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry +- Publish a single build artifact containing test results and a nuget package \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..521ae259 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,72 @@ +name: Build and Test + +on: + workflow_dispatch: + push: + branches: + - main + pull_request: + types: [opened, reopened, synchronize] + +jobs: + build: # Test, pack and publish the Open AI nuget package as a build artifact + runs-on: ubuntu-latest + env: + version_suffix_args: ${{ format('--version-suffix="alpha.{0}"', github.run_number) }} + steps: + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 8.x + + - name: Checkout code + uses: actions/checkout@v2 + + - name: Build + run: dotnet build + -c Release + ${{ env.version_suffix_args }} + working-directory: .dotnet + + - name: Test + run: dotnet test + --no-build + --configuration Release + --filter="TestCategory~${{ github.event_name == 'pull_request' && 'Offline' || 'Online' }}" + --logger "trx;LogFileName=${{github.workspace}}/artifacts/test-results/full.trx" + env: + SECRET_VALUE: ${{ secrets.OPENAI_TOKEN }} + working-directory: .dotnet + + - name: Pack + run: dotnet pack + --no-build + --configuration Release + --output "${{github.workspace}}/artifacts/packages" + ${{ env.version_suffix_args }} + working-directory: .dotnet + + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: build-artifacts + path: ${{github.workspace}}/artifacts + + - name: NuGet Autenticate + if: github.event_name != 'pull_request' + run: dotnet nuget add source + "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" + --name "github" + --username ${{ github.actor }} + --password ${{ secrets.GITHUB_TOKEN }} + --store-password-in-clear-text + working-directory: .dotnet + + - name: Publish + if: github.event_name != 'pull_request' + run: dotnet nuget push + ${{github.workspace}}/artifacts/packages/*.nupkg + --source "github" + --api-key ${{ secrets.GITHUB_TOKEN }} + --skip-duplicate + working-directory: .dotnet diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..678273f5 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,73 @@ +name: Release package + +on: + release: + types: [published] + + +jobs: + deploy: + runs-on: ubuntu-latest + permissions: + packages: write + contents: write + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v3 + with: + dotnet-version: '8.x' # SDK Version to use. + + - name: Build + run: dotnet build + -c Release + working-directory: .dotnet + + - name: Test + run: dotnet test + --no-build + --configuration Release + --filter="TestCategory~Online" + --logger "trx;LogFileName=${{github.workspace}}/artifacts/test-results/full.trx" + env: + SECRET_VALUE: ${{ secrets.OPENAI_TOKEN }} + working-directory: .dotnet + + # Pack the client nuget package and include urls back to the repository and release tag + - name: Pack + run: dotnet pack + --no-build + --configuration Release + --output "${{github.workspace}}/artifacts/packages" + /p:RepositoryUrl="${{ github.repository }}" + /p:PackageProjectUrl="${{ github.repository }}/tree/${{ github.event.release.tag_name }}" + working-directory: .dotnet + + # Append the nuget package to the github release that triggered this workflow + - name: Upload release asset + run: gh release upload ${{ github.event.release.tag_name }} + ${{github.workspace}}/artifacts/packages/*.nupkg + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: build-artifacts + path: ${{github.workspace}}/artifacts + + - name: NuGet Autenticate + run: dotnet nuget add source + "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" + --name "github" + --username ${{ github.actor }} + --password ${{ secrets.GITHUB_TOKEN }} + --store-password-in-clear-text + working-directory: .dotnet + + # - name: Publish + # run: dotnet nuget push + # ${{github.workspace}}/artifacts/packages/*.nupkg + # --source "github" + # --api-key ${{ secrets.GITHUB_TOKEN }} + # --skip-duplicate + # working-directory: .dotnet From f0cdee82b85a1eb06e5b9648d35294fad99c5c3c Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Tue, 4 Jun 2024 13:16:18 -0700 Subject: [PATCH 2/9] Fix version properties to allow for dynamic alpha versions --- .github/workflows/main.yml | 7 +------ .github/workflows/release.yml | 7 +------ src/OpenAI.csproj | 3 ++- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 521ae259..d04ded75 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,9 +24,8 @@ jobs: - name: Build run: dotnet build - -c Release + --configuration Release ${{ env.version_suffix_args }} - working-directory: .dotnet - name: Test run: dotnet test @@ -36,7 +35,6 @@ jobs: --logger "trx;LogFileName=${{github.workspace}}/artifacts/test-results/full.trx" env: SECRET_VALUE: ${{ secrets.OPENAI_TOKEN }} - working-directory: .dotnet - name: Pack run: dotnet pack @@ -44,7 +42,6 @@ jobs: --configuration Release --output "${{github.workspace}}/artifacts/packages" ${{ env.version_suffix_args }} - working-directory: .dotnet - name: Upload artifact uses: actions/upload-artifact@v2 @@ -60,7 +57,6 @@ jobs: --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text - working-directory: .dotnet - name: Publish if: github.event_name != 'pull_request' @@ -69,4 +65,3 @@ jobs: --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate - working-directory: .dotnet diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 678273f5..9bca4e1e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,6 @@ on: release: types: [published] - jobs: deploy: runs-on: ubuntu-latest @@ -19,8 +18,7 @@ jobs: - name: Build run: dotnet build - -c Release - working-directory: .dotnet + --configuration Release - name: Test run: dotnet test @@ -30,7 +28,6 @@ jobs: --logger "trx;LogFileName=${{github.workspace}}/artifacts/test-results/full.trx" env: SECRET_VALUE: ${{ secrets.OPENAI_TOKEN }} - working-directory: .dotnet # Pack the client nuget package and include urls back to the repository and release tag - name: Pack @@ -40,7 +37,6 @@ jobs: --output "${{github.workspace}}/artifacts/packages" /p:RepositoryUrl="${{ github.repository }}" /p:PackageProjectUrl="${{ github.repository }}/tree/${{ github.event.release.tag_name }}" - working-directory: .dotnet # Append the nuget package to the github release that triggered this workflow - name: Upload release asset @@ -62,7 +58,6 @@ jobs: --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text - working-directory: .dotnet # - name: Publish # run: dotnet nuget push diff --git a/src/OpenAI.csproj b/src/OpenAI.csproj index d995dc2d..a2d1210f 100644 --- a/src/OpenAI.csproj +++ b/src/OpenAI.csproj @@ -2,7 +2,8 @@ This is the OpenAI client library for developing .NET applications with rich experience. SDK Code Generation OpenAI - 2.0.0-beta.1 + 2.0.0 + beta.1 OpenAI netstandard2.0;net6.0 latest From 1c9129371f3eef35a58d30413b360a52104f87ef Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Tue, 4 Jun 2024 13:50:32 -0700 Subject: [PATCH 3/9] Use correct environment variable name for OPENAI_API_KEY --- .github/workflows/main.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d04ded75..18ed0795 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: --filter="TestCategory~${{ github.event_name == 'pull_request' && 'Offline' || 'Online' }}" --logger "trx;LogFileName=${{github.workspace}}/artifacts/test-results/full.trx" env: - SECRET_VALUE: ${{ secrets.OPENAI_TOKEN }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Pack run: dotnet pack diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9bca4e1e..a61fada8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: --filter="TestCategory~Online" --logger "trx;LogFileName=${{github.workspace}}/artifacts/test-results/full.trx" env: - SECRET_VALUE: ${{ secrets.OPENAI_TOKEN }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} # Pack the client nuget package and include urls back to the repository and release tag - name: Pack From 32461cc529d906b6c785c9d7c154d21467fc9b1f Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Tue, 4 Jun 2024 15:21:42 -0700 Subject: [PATCH 4/9] Comment out release steps for now --- .github/workflows/main.yml | 30 +++++++++++++++--------------- .github/workflows/release.yml | 14 +++++++------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 18ed0795..0084f454 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,19 +49,19 @@ jobs: name: build-artifacts path: ${{github.workspace}}/artifacts - - name: NuGet Autenticate - if: github.event_name != 'pull_request' - run: dotnet nuget add source - "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" - --name "github" - --username ${{ github.actor }} - --password ${{ secrets.GITHUB_TOKEN }} - --store-password-in-clear-text + # - name: NuGet Autenticate + # if: github.event_name != 'pull_request' + # run: dotnet nuget add source + # "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" + # --name "github" + # --username ${{ github.actor }} + # --password ${{ secrets.GITHUB_TOKEN }} + # --store-password-in-clear-text - - name: Publish - if: github.event_name != 'pull_request' - run: dotnet nuget push - ${{github.workspace}}/artifacts/packages/*.nupkg - --source "github" - --api-key ${{ secrets.GITHUB_TOKEN }} - --skip-duplicate + # - name: Publish + # if: github.event_name != 'pull_request' + # run: dotnet nuget push + # ${{github.workspace}}/artifacts/packages/*.nupkg + # --source "github" + # --api-key ${{ secrets.GITHUB_TOKEN }} + # --skip-duplicate diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a61fada8..71160354 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,13 +51,13 @@ jobs: name: build-artifacts path: ${{github.workspace}}/artifacts - - name: NuGet Autenticate - run: dotnet nuget add source - "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" - --name "github" - --username ${{ github.actor }} - --password ${{ secrets.GITHUB_TOKEN }} - --store-password-in-clear-text + # - name: NuGet Autenticate + # run: dotnet nuget add source + # "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" + # --name "github" + # --username ${{ github.actor }} + # --password ${{ secrets.GITHUB_TOKEN }} + # --store-password-in-clear-text # - name: Publish # run: dotnet nuget push From f83d5368007ae38e3bd7cccc41b3932771da70c0 Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Wed, 5 Jun 2024 14:25:59 -0700 Subject: [PATCH 5/9] Add sourcelink and snupkg. Remove redundant directory.build.props --- .github/README.md | 17 ++++++++++++++--- .github/workflows/release.yml | 13 ++----------- src/Directory.Build.props | 8 -------- src/OpenAI.csproj | 30 +++++++++++++++++++++++++++--- src/Properties/AssemblyInfo.cs | 6 ------ 5 files changed, 43 insertions(+), 31 deletions(-) delete mode 100644 src/Directory.Build.props delete mode 100644 src/Properties/AssemblyInfo.cs diff --git a/.github/README.md b/.github/README.md index b5a5448c..e820c8c6 100644 --- a/.github/README.md +++ b/.github/README.md @@ -8,10 +8,21 @@ https://docs.github.com/en/actions/automating-builds-and-tests/building-and-test - Strong name the assemblies using a key stored in the repository https://github.com/dotnet/runtime/blob/main/docs/project/strong-name-signing.md - Test the built libraries - - Use a repository secret to hold the OpenAI token used for live testing + - In a PR run, only local tests are run. + - In a CI run, live tests are run using a repository secret containing an OpenAI token https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions - Package the built libraries -- Publish the package as a GitHub Release - Publish the package to a GitHub NuGet registry https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry -- Publish a single build artifact containing test results and a nuget package \ No newline at end of file +- Publish a single build artifact containing test results and a nuget package + +## release.yml +Releases are triggered by publishing a release in the GitHub repository. The release workflow will: + +- Build the solution using the dotnet cli + - Strong name the assemblies using a key stored in the repository +- Test the built libraries + - Live tests are run using a repository secret containing an OpenAI token +- Package the built libraries +- Publish the package to public NuGet registry +- Publish a single build artifact containing test results and a nuget package diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71160354..86742f5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,18 +51,9 @@ jobs: name: build-artifacts path: ${{github.workspace}}/artifacts - # - name: NuGet Autenticate - # run: dotnet nuget add source - # "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" - # --name "github" - # --username ${{ github.actor }} - # --password ${{ secrets.GITHUB_TOKEN }} - # --store-password-in-clear-text - # - name: Publish # run: dotnet nuget push # ${{github.workspace}}/artifacts/packages/*.nupkg - # --source "github" - # --api-key ${{ secrets.GITHUB_TOKEN }} + # --source https://api.nuget.org/v3/index.json + # --api-key ${{ secrets.NUGET_API_KEY }} # --skip-duplicate - # working-directory: .dotnet diff --git a/src/Directory.Build.props b/src/Directory.Build.props deleted file mode 100644 index 84bc0821..00000000 --- a/src/Directory.Build.props +++ /dev/null @@ -1,8 +0,0 @@ - - - 2.0.0 - beta.1 - true - OpenAI.snk - - \ No newline at end of file diff --git a/src/OpenAI.csproj b/src/OpenAI.csproj index a2d1210f..1fe93025 100644 --- a/src/OpenAI.csproj +++ b/src/OpenAI.csproj @@ -2,16 +2,40 @@ This is the OpenAI client library for developing .NET applications with rich experience. SDK Code Generation OpenAI + OpenAI + 2.0.0 beta.1 - OpenAI + netstandard2.0;net6.0 latest + + + true + OpenAI.snk + + true - False + + + true + + + true + snupkg + + + true + + + + + true + + - \ No newline at end of file + diff --git a/src/Properties/AssemblyInfo.cs b/src/Properties/AssemblyInfo.cs deleted file mode 100644 index 226583c2..00000000 --- a/src/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Runtime.CompilerServices; - -[assembly: InternalsVisibleTo("Azure.AI.OpenAI")] From e8bfe47e24903477e255204b60dff45b10539f57 Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Wed, 5 Jun 2024 14:27:44 -0700 Subject: [PATCH 6/9] Push to internal nuget feed on CI --- .github/workflows/main.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0084f454..18ed0795 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,19 +49,19 @@ jobs: name: build-artifacts path: ${{github.workspace}}/artifacts - # - name: NuGet Autenticate - # if: github.event_name != 'pull_request' - # run: dotnet nuget add source - # "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" - # --name "github" - # --username ${{ github.actor }} - # --password ${{ secrets.GITHUB_TOKEN }} - # --store-password-in-clear-text + - name: NuGet Autenticate + if: github.event_name != 'pull_request' + run: dotnet nuget add source + "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" + --name "github" + --username ${{ github.actor }} + --password ${{ secrets.GITHUB_TOKEN }} + --store-password-in-clear-text - # - name: Publish - # if: github.event_name != 'pull_request' - # run: dotnet nuget push - # ${{github.workspace}}/artifacts/packages/*.nupkg - # --source "github" - # --api-key ${{ secrets.GITHUB_TOKEN }} - # --skip-duplicate + - name: Publish + if: github.event_name != 'pull_request' + run: dotnet nuget push + ${{github.workspace}}/artifacts/packages/*.nupkg + --source "github" + --api-key ${{ secrets.GITHUB_TOKEN }} + --skip-duplicate From 3dc33d63597c797861e464c6ce4729c228f58e06 Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Wed, 5 Jun 2024 14:37:24 -0700 Subject: [PATCH 7/9] Combine pack and build --- .github/workflows/main.yml | 12 +++--------- .github/workflows/release.yml | 17 ++++++----------- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 18ed0795..a040766d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,9 +22,10 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Build - run: dotnet build + - name: Pack + run: dotnet pack --configuration Release + --output "${{github.workspace}}/artifacts/packages" ${{ env.version_suffix_args }} - name: Test @@ -36,13 +37,6 @@ jobs: env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - - name: Pack - run: dotnet pack - --no-build - --configuration Release - --output "${{github.workspace}}/artifacts/packages" - ${{ env.version_suffix_args }} - - name: Upload artifact uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 86742f5e..4711773e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,9 +16,13 @@ jobs: with: dotnet-version: '8.x' # SDK Version to use. - - name: Build - run: dotnet build + # Pack the client nuget package and include urls back to the repository and release tag + - name: Pack + run: dotnet pack --configuration Release + --output "${{github.workspace}}/artifacts/packages" + /p:RepositoryUrl="${{ github.repository }}" + /p:PackageProjectUrl="${{ github.repository }}/tree/${{ github.event.release.tag_name }}" - name: Test run: dotnet test @@ -29,15 +33,6 @@ jobs: env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - # Pack the client nuget package and include urls back to the repository and release tag - - name: Pack - run: dotnet pack - --no-build - --configuration Release - --output "${{github.workspace}}/artifacts/packages" - /p:RepositoryUrl="${{ github.repository }}" - /p:PackageProjectUrl="${{ github.repository }}/tree/${{ github.event.release.tag_name }}" - # Append the nuget package to the github release that triggered this workflow - name: Upload release asset run: gh release upload ${{ github.event.release.tag_name }} From 77200f70b4c62840c36832b142e77150d743cda3 Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Wed, 5 Jun 2024 14:45:32 -0700 Subject: [PATCH 8/9] Remove --no-build from test commands --- .github/workflows/main.yml | 1 - .github/workflows/release.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a040766d..f602e5be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,6 @@ jobs: - name: Test run: dotnet test - --no-build --configuration Release --filter="TestCategory~${{ github.event_name == 'pull_request' && 'Offline' || 'Online' }}" --logger "trx;LogFileName=${{github.workspace}}/artifacts/test-results/full.trx" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4711773e..75601add 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,6 @@ jobs: - name: Test run: dotnet test - --no-build --configuration Release --filter="TestCategory~Online" --logger "trx;LogFileName=${{github.workspace}}/artifacts/test-results/full.trx" From 731567b1cbcb0d1f02d8fd2878ffd583e86feecd Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Wed, 5 Jun 2024 14:49:21 -0700 Subject: [PATCH 9/9] Rename pack action to Build and Pack --- .github/workflows/main.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f602e5be..4c201a68 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Pack + - name: Build and Pack run: dotnet pack --configuration Release --output "${{github.workspace}}/artifacts/packages" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75601add..ff730350 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: dotnet-version: '8.x' # SDK Version to use. # Pack the client nuget package and include urls back to the repository and release tag - - name: Pack + - name: Build and Pack run: dotnet pack --configuration Release --output "${{github.workspace}}/artifacts/packages"