Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammedKalkan authored May 29, 2023
1 parent 0d68d02 commit bb3e324
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -43,16 +41,16 @@ 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
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
Expand All @@ -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
Expand Down

0 comments on commit bb3e324

Please sign in to comment.