From 46a2157addaa80a24653cda5000a1f713760c567 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 22 Jun 2024 17:09:35 +0200 Subject: [PATCH] Changed env --- .github/workflows/build-and-release.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 80b407fb..4e018a06 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -767,9 +767,6 @@ jobs: name: Publish release runs-on: ubuntu-latest needs: create_release - env: - FORMATTED_VERSION: ${{ needs.read_metadata.outputs.formatted_version }} - CHANGELOG: ${{ needs.read_metadata.outputs.changelog }} steps: - name: Create release folder @@ -777,6 +774,9 @@ jobs: - name: Download release assets uses: actions/download-artifact@v4 + env: + FORMATTED_VERSION: ${{ needs.read_metadata.outputs.formatted_version }} + with: name: MindWork AI Studio ${{ env.FORMATTED_VERSION }} Release path: $GITHUB_WORKSPACE/release/assets @@ -786,6 +786,10 @@ jobs: - name: Create release uses: softprops/action-gh-release@v2 + env: + FORMATTED_VERSION: ${{ needs.read_metadata.outputs.formatted_version }} + CHANGELOG: ${{ needs.read_metadata.outputs.changelog }} + with: prerelease: true body: ${{ env.CHANGELOG }}