diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index c2c05952..ac050752 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -147,8 +147,13 @@ jobs: zip -r js-module-windows dist-windows zip -r js-module-linux dist-linux - - name: Display structure of downloaded files - run: ls -R + - name: Extract version + id: version + shell: bash + run: | + TAG=${GITHUB_REF/refs\/tags\//} + echo ::set-output name=BRANCH::${TAG/\/*} + echo ::set-output name=VERSION::${TAG/*\/} - name: Create Release id: create_release