remove unsed files
Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
This commit is contained in:
parent
4c3913b7c5
commit
bfc8b02de9
|
|
@ -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
|
||||
|
|
@ -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
|
||||
Loading…
Reference in New Issue