Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wener-tiobe authored Sep 4, 2023
1 parent 66a56c7 commit cf202a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ jobs:
uses: actions/download-artifact@v3
with:
name: ${{needs.build.outputs.artifact}}
- name: Upload artifact
- name: Upload artifact to Github
uses: softprops/action-gh-release@v1
with:
files: ${{needs.build.outputs.artifact}}.zip
- name: Upload artifact to Repository
run: curl --fail -u "${{ secrets.PRIVATE_NEXUS_USERNAME }}":"${{ secrets.PRIVATE_NEXUS_PASSWORD }}" --upload-file ${{needs.build.outputs.artifact}}.zip https:/artifacts.tiobe.com/repository/checkers/dutchpickle/${{needs.build.outputs.version}}/${{needs.build.outputs.artifact}}.zip
- name: Trigger Jenkins job
run: curl -u ${{secrets.JENKINS_API_TOKEN}} ${{secrets.JENKINS_URL}}/job/DutchPickle-Publish/build?token=dutchpickle-publish

0 comments on commit cf202a8

Please sign in to comment.