diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6b8db943ff..f8437059cd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,7 +12,7 @@ jobs: ls $GITHUB_WORKSPACE - name: Read version from version.props run: | - version=$(grep -oP '\K[^<]+' $GITHUB_WORKSPACE/common.props) + version=$(grep -oP '\K[^<]+' ${{ github.action_path }}/../../common.props) echo "VERSION=$version" >> $GITHUB_ENV - name: Determine if preview version