Add version artifact

This commit is contained in:
Igor Gov
2021-07-21 10:52:37 +03:00
parent 5c86e20c92
commit 7fb85df3ac
2 changed files with 18 additions and 6 deletions

View File

@@ -66,6 +66,14 @@ 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: