Skip to content

Commit

Permalink
Merge pull request #97 from leancodepl/fix/bump-workflow-actions-vers…
Browse files Browse the repository at this point in the history
…ions

Bump github workflow actions versions
  • Loading branch information
Dragemil authored Aug 12, 2020
2 parents b12eafd + d7c971e commit fe91c83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/core_build_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
zip -j "$ZIP" "$PWD"/packed/*.nupkg
- name: Publish artifacts
if: ${{ needs.prepare.outputs.publish_artifacts == '1' }}
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: ${{ needs.prepare.outputs.artifacts_name }}
path: ${{ needs.prepare.outputs.artifacts_name }}
Expand All @@ -97,7 +97,7 @@ jobs:
steps:
- name: Fetch build
id: download
uses: actions/download-artifact@v1
uses: actions/download-artifact@v2
with:
name: ${{ needs.prepare.outputs.artifacts_name }}
- name: Create release
Expand All @@ -110,7 +110,7 @@ jobs:
- name: Push to NuGet
run: |
unzip "$ZIP"
find packed/ -name '*.nupkg' -exec dotnet nuget push -k "$NUGET_API_KEY" -s 'https://api.nuget.org/v3/index.json' -n true '{}' ';'
find -name '*.nupkg' -exec dotnet nuget push -k "$NUGET_API_KEY" -s 'https://api.nuget.org/v3/index.json' -n true '{}' ';'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
ZIP: ${{ steps.download.outputs.download-path }}

0 comments on commit fe91c83

Please sign in to comment.