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

Mathieubellon/build release action #3

Merged
merged 5 commits into from
Sep 10, 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
39 changes: 39 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: vsixbuilder

on:
push:
branches: [ mathieubellon/build-release-action ]

permissions:
contents: read

jobs:
build_vsix_file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22

- name: Setup VSCE
run: sudo yarn global add vsce@latest

- name: Install dependencies
run: yarn install

- name: Build extension
run: |
vsce package --baseContentUrl https://github.com/GitGuardian/gitguardian-vscode/ --allow-missing-repository
mv *.vsix gitguardian-vscode.vsix

- name: Upload extension package
uses: actions/upload-artifact@v4
with:
name: gitguardian-vscode.vsix
path: gitguardian-vscode.vsix


5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ yarn-error.log*
tsconfig.base.tsbuildinfo%

# ouput dir
out/
out/

# build files
**/*.vsix
6 changes: 6 additions & 0 deletions SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Support

If you have a question or need help you can reach out to us via :

- The [issue tracker](https://github.com/GitGuardian/gitguardian-vscode/issues) if you found a bug, do not understand something, etc ..
- or the [Discussion tab](https://github.com/GitGuardian/gitguardian-vscode/discussions) where you can open a new thread for a feature idea or anything else