Skip to content

Commit

Permalink
Fixed broken release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-mad committed Oct 25, 2021
2 parents 62a1e71 + d802f0b commit c893f61
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: .NET
name: .NET Release Pipeline

on:
push:
branches:
- develop
- feature/*
pull_request:
branches:
- develop
workflow_dispatch:
- master

jobs:
build:
Expand All @@ -30,5 +25,5 @@ jobs:
run: dotnet pack --no-build --configuration Release
- name: Nuget Push
env:
SUPER_SECRET: ${{secrets.NUGET_KEY}}
run: dotnet nuget push "/home/runner/work/UnitSystems/UnitSystems/UnitSystems/bin/Release/UnitSystems.1.0.0-rc.nupkg" --api-key "$SUPER_SECRET" --source https://api.nuget.org/v3/index.json
AUTH_KEY: ${{secrets.NUGET_KEY}}
run: dotnet nuget push "./UnitSystems/bin/Release/UnitSystems.*.nupkg" --api-key "$AUTH_KEY" --source https://api.nuget.org/v3/index.json

0 comments on commit c893f61

Please sign in to comment.