diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 73e2b3c..8c64ffd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,9 +21,7 @@ jobs: - name: Export version to variable run: | export LENS_VERSION=$(cat version) - echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV - export DOWNLOAD_ALL_ARCHITECTURES="true" - echo "DOWNLOAD_ALL_ARCHITECTURES=$DOWNLOAD_ALL_ARCHITECTURES" >> $GITHUB_ENV + echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV shell: bash - uses: actions/setup-node@v3 with: @@ -43,9 +41,8 @@ jobs: mkdir releasefiles if [ "$RUNNER_OS" == "Windows" ]; then choco install visualstudio2019buildtools visualstudio2019-workload-vctools - echo "DOWNLOAD_ALL_ARCHITECTURES=" >> $GITHUB_ENV fi - if [ "$RUNNER_OS" == "macOS" ]; then + if [ "$RUNNER_OS" == "macOS" ]; then if [ "${CSC_LINK}" = "" ]; then unset CSC_LINK fi @@ -53,6 +50,7 @@ jobs: if [ "${CSC_KEY_PASSWORD}" = "" ]; then unset CSC_KEY_PASSWORD fi + echo "DOWNLOAD_ALL_ARCHITECTURES=true" >> $GITHUB_ENV yarn run all:install yarn run build yarn run build:app @@ -71,6 +69,7 @@ jobs: fi done elif [ "$RUNNER_OS" == "Linux" ]; then + echo "DOWNLOAD_ALL_ARCHITECTURES=true" >> $GITHUB_ENV yarn run all:install yarn run build yarn run build:app