Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/pipeline-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,46 +63,46 @@ jobs:
echo "RI_APP_TYPE=${{ env.RI_APP_TYPE }}"
} >> "${{ env.envFile }}"

- name: Download backend
- name: Download backend x64
uses: ./.github/actions/download-backend

- name: Build linux package (production)
- name: Build linux package x64 (production)
if: inputs.environment == 'production'
run: |
yarn package:prod --target linux-x64 --out ${packagePath}
yarn package:prod --target linux-x64 --out ${packagePath}-x64.vsix

- name: Build linux package (staging)
- name: Build linux package x64 (staging)
if: inputs.environment == 'staging'
run: |
sed -i "s/^RI_APP_FOLDER_NAME=.*/RI_APP_FOLDER_NAME='.redis-for-vscode-stage'/" ${{ env.envFile }}
yarn package:stage --target linux-x64 --out ${packagePath}
yarn package:stage --target linux-x64 --out ${packagePath}-x64.vsix

- name: Download backend
- name: Download backend arm64
uses: ./.github/actions/download-backend
with:
arch: arm64

- name: Build linux package (production)
- name: Build linux package arm64 (production)
if: inputs.environment == 'production'
run: |
yarn package:prod --target linux-arm64 --out ${packagePath}
yarn package:prod --target linux-arm64 --out ${packagePath}-arm64.vsix

- name: Build linux package (staging)
- name: Build linux package arm64 (staging)
if: inputs.environment == 'staging'
run: |
sed -i "s/^RI_APP_FOLDER_NAME=.*/RI_APP_FOLDER_NAME='.redis-for-vscode-stage'/" ${{ env.envFile }}
yarn package:stage --target linux-arm64 --out ${packagePath}
yarn package:stage --target linux-arm64 --out ${packagePath}-arm64.vsix

- uses: actions/upload-artifact@v4
name: Upload extension artifact
with:
name: linux-build
name: linux-builds
path: |
release/redis-for-*.vsix

env:
envFile: '.env'
packagePath: './release/redis-for-vscode-extension-linux-x64.vsix'
packagePath: './release/redis-for-vscode-extension-linux'
RI_SEGMENT_WRITE_KEY: ${{ secrets.RI_SEGMENT_WRITE_KEY }}
RI_CLOUD_IDP_AUTHORIZE_URL: ${{ secrets.RI_CLOUD_IDP_AUTHORIZE_URL }}
RI_CLOUD_IDP_TOKEN_URL: ${{ secrets.RI_CLOUD_IDP_TOKEN_URL }}
Expand Down