From eb67f76e2b2511ce4301854aae026249d20b8ef3 Mon Sep 17 00:00:00 2001 From: Igor Gov Date: Wed, 21 Jul 2021 11:03:30 +0300 Subject: [PATCH] . --- .github/workflows/publish.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b60987ee2..0e6f163d2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -66,14 +66,6 @@ jobs: COMMIT_HASH=${{ github.sha }} - name: Build and Push CLI run: make push-cli SEM_VER='${{ steps.versioning.outputs.version }}' BUILD_TIMESTAMP='${{ steps.version_parameters.outputs.build_timestamp }}' - - shell: bash - run: | - expr '${{ steps.versioning.outputs.version }}' > version.txt - - name: Upload version artifact - uses: actions/upload-artifact@v2 - with: - name: version - path: version.txt - name: publish uses: ncipollo/release-action@v1 with: @@ -83,3 +75,10 @@ jobs: tag: ${{ steps.versioning.outputs.version }} prerelease: ${{ github.ref != 'refs/heads/main' }} bodyFile: 'cli/bin/README.md' + - shell: bash + run: echo '${{ steps.versioning.outputs.version }}' >> version.txt + - name: Upload version artifact + uses: actions/upload-artifact@v2 + with: + name: version + path: version.txt