fixing shell

This commit is contained in:
Joseph Flinn 2021-02-02 12:15:33 -08:00
parent 4ee0675d36
commit a9fee41174
2 changed files with 3 additions and 6 deletions

View File

@ -34,7 +34,6 @@ jobs:
- name: Get Package Version
id: gen_vars
shell: pwsh
run: |
repo_url="https://github.com/${{ env.GITHUB_REPOSITORY }}.git"
build_num=$(${{ env.GITHUB_RUN_NUMBER }} + 3000)

View File

@ -34,14 +34,12 @@ jobs:
- name: Get Package Version
id: gen_vars
shell: pwsh
run: |
$repo_url = "https://github.com/${env:GITHUB_REPOSITORY}.git"
$build_num = [int]$env:GITHUB_RUN_NUMBER
$adj_build_num = $build_num + 3000
repo_url="https://github.com/${{ env.GITHUB_REPOSITORY }}.git"
build_num=$(${{ env.GITHUB_RUN_NUMBER }} + 3000)
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::$build_num"
cli: