message: fix: env variables missing
diff: @@ -30,14 +30,6 @@ jobs:
  echo PRE_RELEASE=false >> $GITHUB_ENV
  fi
  - - name: Set Git Identity
  - run: |
  - git config --global user.name 'github-actions[bot]'
  - git config --global user.email 'github-actions[bot]@users.noreply.github.com'
  - git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{github.repository}}
  - env:
  - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  -
  - name: Check If Tag Exists
  id: tag_check
  shell: bash -ex {0}
  @@ -53,6 +45,14 @@ jobs:
  env:
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  + - name: Set Git Identity
  + run: |
  + git config --global user.name 'github-actions[bot]'
  + git config --global user.email 'github-actions[bot]@users.noreply.github.com'
  + git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{github.repository}}
  + env:
  + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  +
  - name: Create Git Tag
  if: env.TAG_EXISTS == 'false'
  uses: azu/action-package-version-to-git-tag@v1
  @@ -107,6 +107,31 @@ jobs:
  - name: Read .nvmrc into env.NVMRC
  run: echo NVMRC=$(cat .nvmrc) >> $GITHUB_ENV
  + - name: Is Pre-Release
  + run: |
  + STR="${RELEASE_VERSION}"
  + SUB='pre.'
  + if [[ "$STR" == *"$SUB"* ]]; then
  + echo PRE_RELEASE=true >> $GITHUB_ENV
  + else
  + echo PRE_RELEASE=false >> $GITHUB_ENV
  + fi
  +
  + - name: Check If Tag Exists
  + id: tag_check
  + shell: bash -ex {0}
  + run: |
  + GET_API_URL="https://api.github.com/repos/${{github.repository}}/git/ref/tags/${{env.RELEASE_VERSION}}"
  + http_status_code=$(curl -LI $GET_API_URL -o /dev/null -w '%{http_code}\n' -s \
  + -H "Authorization: token ${GITHUB_TOKEN}")
  + if [ "$http_status_code" -ne "404" ] ; then
  + echo TAG_EXISTS=true >> $GITHUB_ENV
  + else
  + echo TAG_EXISTS=false >> $GITHUB_ENV
  + fi
  + env:
  + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  +
  - name: Setup Node.js
  uses: actions/setup-node@v1
  with:
  @@ -166,6 +191,21 @@ jobs:
  - name: Read VERSION into env.RELEASE_VERSION
  run: echo RELEASE_VERSION=$(cat VERSION) >> $GITHUB_ENV
  + - name: Check If Tag Exists
  + id: tag_check
  + shell: bash -ex {0}
  + run: |
  + GET_API_URL="https://api.github.com/repos/${{github.repository}}/git/ref/tags/${{env.RELEASE_VERSION}}"
  + http_status_code=$(curl -LI $GET_API_URL -o /dev/null -w '%{http_code}\n' -s \
  + -H "Authorization: token ${GITHUB_TOKEN}")
  + if [ "$http_status_code" -ne "404" ] ; then
  + echo TAG_EXISTS=true >> $GITHUB_ENV
  + else
  + echo TAG_EXISTS=false >> $GITHUB_ENV
  + fi
  + env:
  + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  +
  - name: Install Rust
  uses: actions-rs/toolchain@v1
  with:
  