testing shorter sha

This commit is contained in:
Joseph Flinn 2021-02-02 14:26:51 -08:00
parent 09160877b2
commit fb5511b4bf
1 changed files with 2 additions and 3 deletions

View File

@ -34,10 +34,9 @@ jobs:
- name: Get Package Version - name: Get Package Version
id: gen_vars id: gen_vars
shell: pwsh
run: | run: |
$repo_url = "https://github.com/${env:GITHUB_REPOSITORY}.git" $repo_url = "https://github.com/$GITHUB_REPOSITORY.git"
$adj_build_num = "${env:GITHUB_SHA}" $adj_build_num = "${GITHUB_SHA:0:7}"
echo "::set-output name=repo_url::$repo_url" echo "::set-output name=repo_url::$repo_url"
echo "::set-output name=adj_build_number::$adj_build_num" echo "::set-output name=adj_build_number::$adj_build_num"