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