Skip to content

Commit 2d61972

Browse files
RI-7488: build linux only
1 parent fc021c2 commit 2d61972

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,20 @@ jobs:
5454
with:
5555
environment: ${{ inputs.environment }}
5656
enterprise: ${{ inputs.enterprise }}
57-
58-
build-macos:
59-
if: startsWith(inputs.target, 'macos') || endsWith(inputs.target, 'all')
60-
uses: ./.github/workflows/pipeline-build-macos.yml
61-
secrets: inherit
62-
with:
63-
environment: ${{ inputs.environment }}
64-
enterprise: ${{ inputs.enterprise }}
65-
target: ${{ inputs.target }}
66-
67-
build-windows:
68-
if: startsWith(inputs.target, 'windows') || endsWith(inputs.target, 'all')
69-
uses: ./.github/workflows/pipeline-build-windows.yml
70-
secrets: inherit
71-
with:
72-
environment: ${{ inputs.environment }}
73-
enterprise: ${{ inputs.enterprise }}
57+
#
58+
# build-macos:
59+
# if: startsWith(inputs.target, 'macos') || endsWith(inputs.target, 'all')
60+
# uses: ./.github/workflows/pipeline-build-macos.yml
61+
# secrets: inherit
62+
# with:
63+
# environment: ${{ inputs.environment }}
64+
# enterprise: ${{ inputs.enterprise }}
65+
# target: ${{ inputs.target }}
66+
#
67+
# build-windows:
68+
# if: startsWith(inputs.target, 'windows') || endsWith(inputs.target, 'all')
69+
# uses: ./.github/workflows/pipeline-build-windows.yml
70+
# secrets: inherit
71+
# with:
72+
# environment: ${{ inputs.environment }}
73+
# enterprise: ${{ inputs.enterprise }}

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ jobs:
6969
- 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
7474
- 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
8080
- name: Download backend arm64
8181
uses: ./.github/actions/download-backend
@@ -85,24 +85,24 @@ jobs:
8585
- 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
9090
- 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)