diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index 06dbe831..2e3a37e3 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -21,7 +21,7 @@ jobs: - name: Set version main if: github.ref == 'refs/heads/main' run: | - PACKAGE_VERSION=$(cat package.json \ + PACKAGE_VERSION=$(cat packages/teroshdl/package.json \ | grep version \ | head -1 \ | awk -F: '{ print $2 }' \ @@ -63,7 +63,11 @@ jobs: echo ${{ env.version }} file_ver="${{ env.version }}_${file}" file_ver="${file_ver/:/"_"}" - mv $file ../../$file_ver + file_ver="${file_ver/ /""}" + ls + echo "${{ github.workspace }}/$file_ver" + ls ${{ github.workspace }} + mv $file ${{ github.workspace }}/$file_ver - name: Archive vsix uses: actions/upload-artifact@v3