Update main.yml

This commit is contained in:
Muhammed Kalkan 2022-09-21 21:16:11 +03:00 committed by Jan-Otto Kröpke
parent 1732f13d18
commit e0036945ad
No known key found for this signature in database
1 changed files with 5 additions and 4 deletions

View File

@ -24,6 +24,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16.16.0
- uses: actions/setup-ruby@v1
with:
ruby-version: 2.6
- name: Update Lens
run: |
git clone https://github.com/lensapp/lens.git
@ -62,7 +65,8 @@ jobs:
fi
done
elif [ "$RUNNER_OS" == "Linux" ]; then
export USE_SYSTEM_FPM=true
gem install fpm
env USE_SYSTEM_FPM=true
env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64" make build
cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage
cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb
@ -86,9 +90,6 @@ jobs:
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
- run: df -h
if: always()
- name: Calculate SHA256 checksum
run: |
if [ "$RUNNER_OS" == "Windows" ]; then