From cf202a8c65735d73a96f8f194dae5f2f046b25a3 Mon Sep 17 00:00:00 2001 From: Wener Date: Mon, 4 Sep 2023 15:50:56 +0200 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4a8337e..21cceab 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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