1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-29 12:55:21 +01:00

removing the package version since it is not used

This commit is contained in:
Joseph Flinn 2021-02-01 15:30:51 -08:00
parent 16d6be126f
commit 6a1cfce185

View File

@ -26,7 +26,6 @@ jobs:
setup: setup:
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
package_version: ${{ steps.gen_vars.outputs.package_version }}
repo_url: ${{ steps.gen_vars.outputs.repo_url }} repo_url: ${{ steps.gen_vars.outputs.repo_url }}
adj_build_number: ${{ steps.gen_vars.outputs.adj_build_number }} adj_build_number: ${{ steps.gen_vars.outputs.adj_build_number }}
steps: steps:
@ -37,11 +36,9 @@ jobs:
id: gen_vars id: gen_vars
shell: pwsh shell: pwsh
run: | run: |
$env:pkgVersion = (Get-Content -Raw -Path ./src/package.json | ConvertFrom-Json).version
$env:repo_url = "https://github.com/${env:GITHUB_REPOSITORY}.git" $env:repo_url = "https://github.com/${env:GITHUB_REPOSITORY}.git"
$env:bulid_num = ${env:GITHUB_RUN_NUBMER} + 3000 $env:bulid_num = ${env:GITHUB_RUN_NUBMER} + 3000
echo "::set-output name=package_version::$env:pkgVersion"
echo "::set-output name=repo_url::$env:repo_url" echo "::set-output name=repo_url::$env:repo_url"
echo "::set-output name=adj_build_number::$env:build_num" echo "::set-output name=adj_build_number::$env:build_num"
@ -50,7 +47,6 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
needs: setup needs: setup
env: env:
PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
REPO_URL: ${{ needs.setup.outputs.repo_url }} REPO_URL: ${{ needs.setup.outputs.repo_url }}
BUILD_NUMBER: ${{ needs.setup.outputs.adj_build_number }} BUILD_NUMBER: ${{ needs.setup.outputs.adj_build_number }}
steps: steps: