remove unsed files

Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
This commit is contained in:
Gabriele Santomaggio 2025-01-22 10:52:40 +01:00
parent 4c3913b7c5
commit bfc8b02de9
No known key found for this signature in database
GPG Key ID: D5408D3DD8911AEB
2 changed files with 0 additions and 42 deletions

View File

@ -1,27 +0,0 @@
name: publish-nuget
on:
workflow_call:
secrets:
NUGET_API_KEY:
required: true
jobs:
publish-nuget:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/cache@v4
with:
path: |
~/.nuget/packages
~/.local/share/NuGet/v3-cache
key: ${{ runner.os }}-v0-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-v0-nuget-
- name: Build (Release)
run: dotnet build ${{ github.workspace }}/Build.csproj --configuration=Release --property CI=true
- name: Publish to NuGet
run: dotnet nuget push --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }} --source 'https://api.nuget.org/v3/index.json' ${{ github.workspace }}/packages/RabbitMQ.AMQP.Client.*.nupkg

View File

@ -1,15 +0,0 @@
name: publish rabbitmq-dotnet-client
on:
release:
types:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
- published
jobs:
call-build-test:
uses: ./.github/workflows/build-test.yaml
call-publish-nuget:
uses: ./.github/workflows/publish-nuget.yaml
needs: call-build-test
secrets: inherit