diff --git a/.github/workflows/publisher_cd.yml b/.github/workflows/publisher_cd.yml index 6a8012f..2d10fc8 100644 --- a/.github/workflows/publisher_cd.yml +++ b/.github/workflows/publisher_cd.yml @@ -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 @@ -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 }} \ No newline at end of file