Skip to content

Commit 90081c0

Browse files
Tr/ri 7488 add linux arm64 build (#299)
* RI-7488: trigger build by push (test) * RI-7488: trigger build by push (test) * RI-7488: rename jobs * RI-7488: build linux only * RI-7488: cleanup test changes
1 parent 497cc23 commit 90081c0

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/pipeline-build-linux.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,46 +63,46 @@ jobs:
6363
echo "RI_APP_TYPE=${{ env.RI_APP_TYPE }}"
6464
} >> "${{ env.envFile }}"
6565
66-
- name: Download backend
66+
- name: Download backend x64
6767
uses: ./.github/actions/download-backend
6868

69-
- name: Build linux package (production)
69+
- name: Build linux package x64 (production)
7070
if: inputs.environment == 'production'
7171
run: |
72-
yarn package:prod --target linux-x64 --out ${packagePath}
72+
yarn package:prod --target linux-x64 --out ${packagePath}-x64.vsix
7373
74-
- name: Build linux package (staging)
74+
- name: Build linux package x64 (staging)
7575
if: inputs.environment == 'staging'
7676
run: |
7777
sed -i "s/^RI_APP_FOLDER_NAME=.*/RI_APP_FOLDER_NAME='.redis-for-vscode-stage'/" ${{ env.envFile }}
78-
yarn package:stage --target linux-x64 --out ${packagePath}
78+
yarn package:stage --target linux-x64 --out ${packagePath}-x64.vsix
7979
80-
- name: Download backend
80+
- name: Download backend arm64
8181
uses: ./.github/actions/download-backend
8282
with:
8383
arch: arm64
8484

85-
- name: Build linux package (production)
85+
- name: Build linux package arm64 (production)
8686
if: inputs.environment == 'production'
8787
run: |
88-
yarn package:prod --target linux-arm64 --out ${packagePath}
88+
yarn package:prod --target linux-arm64 --out ${packagePath}-arm64.vsix
8989
90-
- name: Build linux package (staging)
90+
- name: Build linux package arm64 (staging)
9191
if: inputs.environment == 'staging'
9292
run: |
9393
sed -i "s/^RI_APP_FOLDER_NAME=.*/RI_APP_FOLDER_NAME='.redis-for-vscode-stage'/" ${{ env.envFile }}
94-
yarn package:stage --target linux-arm64 --out ${packagePath}
94+
yarn package:stage --target linux-arm64 --out ${packagePath}-arm64.vsix
9595
9696
- uses: actions/upload-artifact@v4
9797
name: Upload extension artifact
9898
with:
99-
name: linux-build
99+
name: linux-builds
100100
path: |
101101
release/redis-for-*.vsix
102102
103103
env:
104104
envFile: '.env'
105-
packagePath: './release/redis-for-vscode-extension-linux-x64.vsix'
105+
packagePath: './release/redis-for-vscode-extension-linux'
106106
RI_SEGMENT_WRITE_KEY: ${{ secrets.RI_SEGMENT_WRITE_KEY }}
107107
RI_CLOUD_IDP_AUTHORIZE_URL: ${{ secrets.RI_CLOUD_IDP_AUTHORIZE_URL }}
108108
RI_CLOUD_IDP_TOKEN_URL: ${{ secrets.RI_CLOUD_IDP_TOKEN_URL }}

0 commit comments

Comments
 (0)