Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revert: platform specific release #60

Merged
merged 7 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
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
45 changes: 5 additions & 40 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
os: [linux, darwin, win32]
arch: [x64, arm64]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -22,49 +18,18 @@ jobs:
with:
node-version: '18'

# Install npm dependencies based on the architecture
- name: Install dependencies
run: |
if [ "${{ matrix.arch }}" == "arm64" ]; then
npm_config_arch=arm64 npm install --build-from-source
else
npm_config_arch=x64 npm install --build-from-source
fi
run: npm install

- name: Run Rollup for Compilation
- name: Run Rollup
run: npm run rollupci

- name: List Compiled Files (Debugging)
- name: List contents of out/compiled directory (for debugging)
run: ls -R out/compiled

- name: Install vsce
run: npm install -g @vscode/vsce

- name: Package VSIX for Target Platform
run: |
case "${{ matrix.os }}" in
linux) vsce package --target linux-${{ matrix.arch }} ;;
darwin) vsce package --target darwin-${{ matrix.arch }} ;;
win32) vsce package --target win32-${{ matrix.arch }} ;;
esac

- name: Capture VSIX Filename
id: capture_vsix_file
run: |
VSIX_FILE=$(ls *.vsix)
echo "VSIX_FILE=$VSIX_FILE" >> $GITHUB_ENV
shell: bash

- name: Print VSIX Filename
id: print_vsix_file
run: |
echo "Generated package for OS ${{ matrix.os }} and architecture ${{ matrix.arch }}:"
ls *.vsix


- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
extensionFile: ${{ env.VSIX_FILE }}
registryUrl: https://marketplace.visualstudio.com
skipDuplicate: true
skipDuplicate: true
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ First Release for Vs Code Extension.
## [1.0.14]

- Back button refactored for better User Experience

## [1.0.15]

- Reverting to universal release
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "keployio",
"displayName": "Keploy",
"description": "Streamline testing with the power of Keploy, directly in your favorite IDE.",
"version": "1.0.14",
"version": "1.0.15",
"publisher": "Keploy",
"icon": "media/logo.png",
"pricing": "Free",
Expand Down
Loading