diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a071aa94be..03129f11e2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,7 +84,7 @@ jobs: echo "agentVersion=$(echo $AGENT_VERSION)" >> $GITHUB_OUTPUT - name: Download existing release file - uses: robinraju/release-downloader@v1.4 + uses: robinraju/release-downloader@v1 continue-on-error: true with: tag: ${{ steps.versions.outputs.githubRelease }} @@ -203,7 +203,7 @@ jobs: - name: Delete old GitHub release ${{ needs.parameters.outputs.githubRelease }} if: ${{ needs.parameters.outputs.publish == 'true' && needs.parameters.outputs.release != 'true' }} continue-on-error: true - uses: dev-drprasad/delete-tag-and-release@v0.2.1 + uses: dev-drprasad/delete-tag-and-release@v1 with: delete_release: true tag_name: ${{ needs.parameters.outputs.githubRelease }} @@ -212,7 +212,7 @@ jobs: - name: Create/Update GitHub release ${{ needs.parameters.outputs.githubRelease }} if: needs.parameters.outputs.publish == 'true' - uses: ncipollo/release-action@v1.12.0 + uses: ncipollo/release-action@v1 with: tag: ${{ needs.parameters.outputs.githubRelease }} commit: ${{ needs.parameters.outputs.commit }} @@ -221,7 +221,7 @@ jobs: draft: false - name: Upload buildRef-${{ needs.parameters.outputs.jmcVersion }}.txt - if: needs.parameters.outputs.publish == 'true' + if: needs.parameters.outputs.publish == 'truex' uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} @@ -231,7 +231,7 @@ jobs: overwrite: ${{ needs.parameters.outputs.release != 'true' }} - name: Upload sap.jmc-${{ needs.parameters.outputs.jmcVersion }}-linux.gtk.x86_64.tar.gz - if: needs.parameters.outputs.publish == 'true' + if: needs.parameters.outputs.publish == 'truex' uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} @@ -241,7 +241,7 @@ jobs: overwrite: ${{ needs.parameters.outputs.release != 'true' }} - name: Upload sap.jmc-${{ needs.parameters.outputs.jmcVersion }}-macosx.cocoa.aarch64.tar.gz - if: needs.parameters.outputs.publish == 'true' + if: needs.parameters.outputs.publish == 'truex' uses: svenstaro/upload-release-action@v2 with: tag: ${{ needs.parameters.outputs.githubRelease }} @@ -250,7 +250,7 @@ jobs: overwrite: ${{ needs.parameters.outputs.release != 'true' }} - name: Upload sap.jmc-${{ needs.parameters.outputs.jmcVersion }}-macosx.cocoa.x86_64.tar.gz - if: needs.parameters.outputs.publish == 'true' + if: needs.parameters.outputs.publish == 'truex' uses: svenstaro/upload-release-action@v2 with: tag: ${{ needs.parameters.outputs.githubRelease }} @@ -259,7 +259,7 @@ jobs: overwrite: ${{ needs.parameters.outputs.release != 'true' }} - name: Upload sap.jmc-${{ needs.parameters.outputs.jmcVersion }}-win32.win32.x86_64.zip - if: needs.parameters.outputs.publish == 'true' + if: needs.parameters.outputs.publish == 'truex' uses: svenstaro/upload-release-action@v2 with: tag: ${{ needs.parameters.outputs.githubRelease }} @@ -268,7 +268,7 @@ jobs: overwrite: ${{ needs.parameters.outputs.release != 'true' }} - name: Upload sap.jmc.updatesite.ide-${{ needs.parameters.outputs.jmcVersion }}.zip - if: needs.parameters.outputs.publish == 'true' + if: needs.parameters.outputs.publish == 'truex' uses: svenstaro/upload-release-action@v2 with: tag: ${{ needs.parameters.outputs.githubRelease }} @@ -278,7 +278,7 @@ jobs: - name: Upload agent-${{ needs.parameters.outputs.agentVersion }}.jar # we only build the agent in snapshots - if: ${{ needs.parameters.outputs.publish == 'true' && needs.parameters.outputs.release != 'true' }} + if: ${{ needs.parameters.outputs.publish == 'truex' && needs.parameters.outputs.release != 'true' }} uses: svenstaro/upload-release-action@v2 with: tag: ${{ needs.parameters.outputs.githubRelease }}