Skip to content

Commit

Permalink
Fixing Release Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
hermeswaldemarin committed Nov 30, 2023
1 parent c62f03a commit ebfe37d
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/publish.yml
Expand Up @@ -7,7 +7,7 @@ on:
- v*
jobs:
build:
runs-on: windows-2019
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
Expand All @@ -18,18 +18,13 @@ jobs:
dotnet-quality: 'preview'
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}

- name: Test
run: echo $NUGET_AUTH_TOKEN
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}


- name: Run Build
run: dotnet build src/ABSmartly.Sdk
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}

- name: Run Release
run: dotnet nuget push src/ABSmartly.Sdk/bin/Debug/ --source https://api.nuget.org/v3/index.json --api-key %NUGET_AUTH_TOKEN
run: dotnet nuget push src/ABSmartly.Sdk/bin/Debug/ --source https://api.nuget.org/v3/index.json --api-key $NUGET_AUTH_TOKEN
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}

0 comments on commit ebfe37d

Please sign in to comment.