Skip to content

Commit

Permalink
Merge pull request #12 from leancodepl/fix/ci-cd
Browse files Browse the repository at this point in the history
Attempt to fix fetching version in CD pipeline
  • Loading branch information
Dragemil authored Aug 31, 2023
2 parents 4ec88b0 + b77081b commit 28680e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publisher_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- name: Version
id: version
run: echo ::set-output name=version::$(echo $GITHUB_REF | cut -d / -f 3 | cut -c2-)
working-directory: .
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET SDK
Expand All @@ -45,4 +46,5 @@ jobs:
dotnet nuget push "bin/Release/LeanPipe.${BUILD_VERSION}.nupkg" -k "$FEEDZ_API_KEY" -s 'https://f.feedz.io/leancode/public/nuget/index.json' -n
working-directory: ./publisher/src/LeanPipe
env:
BUILD_VERSION: ${{ steps.version.outputs.version }}
FEEDZ_API_KEY: ${{ secrets.FEEDZ_API_KEY }}

0 comments on commit 28680e9

Please sign in to comment.