Skip to content

Commit 955e251

Browse files
committed
tests
1 parent a0de22b commit 955e251

3 files changed

Lines changed: 29 additions & 83 deletions

File tree

File renamed without changes.

.github/workflows/build.yml

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,35 @@ jobs:
170170
171171
publish-package:
172172
name: 'Publish development package'
173-
uses: ./.github/workflows/release-nuget-package.yml
174-
needs: [workflow-variables, pack]
175-
secrets: inherit
176-
with:
177-
artifact-run-id: ${{ needs.workflow-variables.outputs.github-run-id }}
178-
artifact-name: ${{ needs.pack.outputs.package-artifact-name }}
179-
nuget-feed-server: 'AzureArtifacts'
180-
environment: 'Development'
173+
needs: [pack]
174+
runs-on: ubuntu-latest
175+
steps:
176+
- name: 'Checkout ${{ github.head_ref || github.ref }}'
177+
uses: actions/checkout@v4
178+
179+
- name: Setup .NET
180+
uses: actions/setup-dotnet@v4
181+
with:
182+
dotnet-version: ${{ env.dotnet-sdk-version }}
183+
184+
- name: Download package artifact
185+
uses: actions/download-artifact@v5
186+
with:
187+
name: ${{ needs.pack.outputs.package-artifact-name }}
188+
189+
- name: 'Publish package to NuGet feed'
190+
uses: ./.github/actions/publish-nuget-package
191+
with:
192+
nuget-feed-url: ${{ secrets.NUGET_FEED_URL }}
193+
nuget-feed-api-key: ${{ secrets.NUGET_FEED_API_KEY }}
194+
nuget-feed-type: 'NuGet'
195+
working-directory: ${{ runner.temp }}/${{ env.nuget-packages-directory }}
196+
dotnet-sdk-version: ${{ env.dotnet-sdk-version }}'
197+
# with:
198+
# artifact-run-id: ${{ needs.workflow-variables.outputs.github-run-id }}
199+
# artifact-name: ${{ needs.pack.outputs.package-artifact-name }}
200+
# nuget-feed-server: 'AzureArtifacts'
201+
# environment: 'Development'
181202

182203
# benchmark:
183204
# if: ${{ github.env.is_release || vars.BENCHMARKDOTNET_RUN_OVERRIDE == 'true' }}

.github/workflows/xxx-release-nuget-package.yml

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)