File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 6363 name : packages
6464 path : ' ${{env.BUILD_PATH}}'
6565
66- deploy :
67- runs-on : ubuntu-latest
68- needs : build
69- if : success() && github.event_name != 'pull_request'
70-
71- steps :
72- - name : Download Artifact
73- uses : actions/download-artifact@v3
74- with :
75- name : packages
76-
77- - name : Publish Packages GitHub
78- run : |
79- for package in $(find -name "*.nupkg"); do
80- echo "${0##*/}": Pushing $package...
81- dotnet nuget push $package --source https://nuget.pkg.github.com/loresoft/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
82- done
83-
8466 - name : Publish Packages Nuget
85- if : startsWith(github.ref, 'refs/tags/v')
67+ if : success() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' || startsWith(github.ref, 'refs/tags/v') )
8668 run : |
8769 for package in $(find -name "*.nupkg"); do
8870 echo "${0##*/}": Pushing $package...
You can’t perform that action at this time.
0 commit comments