diff --git a/.github/workflows/release-to-publish.yml b/.github/workflows/release-to-publish.yml index a2a27deb7..852f3b69a 100644 --- a/.github/workflows/release-to-publish.yml +++ b/.github/workflows/release-to-publish.yml @@ -36,12 +36,13 @@ jobs: - uses: actions/checkout@v2 with: submodules: true + fetch-depth: 0 - uses: actions/setup-python@v2 with: python-version: '3.x' - name: Set GIT tag name run: | - echo "::set-env name=TRAVIS_TAG::$(git describe --exact-match --tags)" + echo "TRAVIS_TAG=$(git describe --exact-match --tags)" >> $GITHUB_ENV - name: Deploy updated JSON env: TRAVIS_BUILD_DIR: ${{ github.workspace }}