Debug arm64 build

This commit is contained in:
Jan-Otto Kröpke 2023-06-10 12:59:53 +02:00
parent c577235e5b
commit aed9ab9b32
No known key found for this signature in database
2 changed files with 6 additions and 7 deletions

View File

@ -16,14 +16,14 @@ jobs:
os: [ubuntu-20.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 360
env:
BUILD_ID: ${{ github.run_number }}
steps:
- name: Checkout OpenLens
uses: actions/checkout@v3
- name: Export version to variable
run: |
export LENS_VERSION=$(cat version)
echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV
echo "BUILD_NUMBER=${{ github.run_number }}" >> $GITHUB_ENV
run: echo "LENS_VERSION=$(cat version)" >> $GITHUB_ENV
shell: bash
- uses: actions/setup-node@v3
@ -39,8 +39,7 @@ jobs:
fetch-depth: 1
- name: Patch Upstream Lens
run: |
node update.js
run: node update.js
- name: Build Lens
run: |

View File

@ -7,7 +7,7 @@ packageJsonOpenLens.build.publish = [{
provider: "generic"
}];
packageJsonOpenLens.version = `${packageJsonOpenLens.version}-${process.env.BUILD_NUMBER}`;
packageJsonOpenLens.version = `${packageJsonOpenLens.version}-${process.env.BUILD_ID}`;
packageJsonOpenLens.build.npmRebuild = true;
packageJsonOpenLens.build.detectUpdateChannel = false;