Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jerbob92 authored May 11, 2020
1 parent 104eaee commit 9edfd95
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
run: |
cd $Env:GITHUB_WORKSPACE
nuget pack KlippaOCRAPI.nuspec
echo "::set-env name=NUGET_FILE::$(ls | grep Klippa.OCRAPI.Activities.*.nupkg)"
- name: Build and push NuGet
if: env.HEAD_TAG != ''
Expand Down Expand Up @@ -72,8 +73,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./my-artifact.zip
asset_name: my-artifact.zip
asset_path: ./$Env:NUGET_FILE
asset_name: $Env:NUGET_FILE
asset_content_type: application/zip

- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 9edfd95

Please sign in to comment.