Debug arm64 build
This commit is contained in:
parent
c577235e5b
commit
aed9ab9b32
|
|
@ -16,14 +16,14 @@ jobs:
|
||||||
os: [ubuntu-20.04, macos-latest, windows-latest]
|
os: [ubuntu-20.04, macos-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
timeout-minutes: 360
|
timeout-minutes: 360
|
||||||
|
env:
|
||||||
|
BUILD_ID: ${{ github.run_number }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout OpenLens
|
- name: Checkout OpenLens
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Export version to variable
|
- name: Export version to variable
|
||||||
run: |
|
run: echo "LENS_VERSION=$(cat version)" >> $GITHUB_ENV
|
||||||
export LENS_VERSION=$(cat version)
|
|
||||||
echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV
|
|
||||||
echo "BUILD_NUMBER=${{ github.run_number }}" >> $GITHUB_ENV
|
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
|
|
@ -39,8 +39,7 @@ jobs:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Patch Upstream Lens
|
- name: Patch Upstream Lens
|
||||||
run: |
|
run: node update.js
|
||||||
node update.js
|
|
||||||
|
|
||||||
- name: Build Lens
|
- name: Build Lens
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ packageJsonOpenLens.build.publish = [{
|
||||||
provider: "generic"
|
provider: "generic"
|
||||||
}];
|
}];
|
||||||
|
|
||||||
packageJsonOpenLens.version = `${packageJsonOpenLens.version}-${process.env.BUILD_NUMBER}`;
|
packageJsonOpenLens.version = `${packageJsonOpenLens.version}-${process.env.BUILD_ID}`;
|
||||||
packageJsonOpenLens.build.npmRebuild = true;
|
packageJsonOpenLens.build.npmRebuild = true;
|
||||||
packageJsonOpenLens.build.detectUpdateChannel = false;
|
packageJsonOpenLens.build.detectUpdateChannel = false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue