From fb5318dea999b3f637582d3b4b8771e892e259e4 Mon Sep 17 00:00:00 2001 From: Michael Voigt Date: Tue, 20 Feb 2024 14:28:23 +0100 Subject: [PATCH] try to fix marketing_build_version and the upload_url --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a5fb69..2c05efa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,10 +28,9 @@ jobs: uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - MARKETING_VERSION: ${{ steps.set_build_number.outputs.marketing_build_version }} with: - tag_name: v${{ env.MARKETING_VERSION }} - release_name: Release ${{ env.MARKETING_VERSION }} + tag_name: v${{ env.marketing_build_version }} + release_name: Release ${{ env.marketing_build_version }} body: | New release of the generated Kotlin client. draft: false @@ -48,7 +47,7 @@ jobs: env: MARKETING_VERSION: ${{ steps.set_build_number.outputs.marketing_build_version }} with: - upload_url: ${{ steps.create-release.outputs.upload_url }} - asset_name: "cumulocity-clients-kotlin-${{ env.MARKETING_VERSION }}.jar" - asset_path: artifacts/cumulocity-clients-kotlin-${{ env.MARKETING_VERSION }}.jar + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_name: "cumulocity-clients-kotlin-${{ env.marketing_build_version }}.jar" + asset_path: artifacts/cumulocity-clients-kotlin-${{ env.marketing_build_version }}.jar asset_content_type: application/zip