diff --git a/.github/workflows/tag-to-draft-release.yml b/.github/workflows/tag-to-draft-release.yml index 265b709f7..783074331 100644 --- a/.github/workflows/tag-to-draft-release.yml +++ b/.github/workflows/tag-to-draft-release.yml @@ -18,13 +18,14 @@ 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: | # Sets an environment variable used in the next steps - echo "::set-env name=TRAVIS_TAG::$(git describe --exact-match --tags)" + echo "TRAVIS_TAG=$(git describe --exact-match --tags)" >> $GITHUB_ENV - name: Build package JSON env: TRAVIS_BUILD_DIR: ${{ github.workspace }}