From fb5511b4bf2c195ea1017b417f7645ee259ba98c Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Tue, 2 Feb 2021 14:26:51 -0800 Subject: [PATCH] testing shorter sha --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e3604c3d63..1bdb9b5bf4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,10 +34,9 @@ jobs: - name: Get Package Version id: gen_vars - shell: pwsh run: | - $repo_url = "https://github.com/${env:GITHUB_REPOSITORY}.git" - $adj_build_num = "${env:GITHUB_SHA}" + $repo_url = "https://github.com/$GITHUB_REPOSITORY.git" + $adj_build_num = "${GITHUB_SHA:0:7}" echo "::set-output name=repo_url::$repo_url" echo "::set-output name=adj_build_number::$adj_build_num"