Skip to content

Commit

Permalink
fix: publishing vscode extension (#2565)
Browse files Browse the repository at this point in the history
Fixes #2536
  • Loading branch information
wesbillman authored Sep 2, 2024
1 parent 5715b67 commit b839df5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ jobs:
- name: VSCode extension lint
working-directory: extensions/vscode
run: pnpm run lint
- name: VSCode extension pnpm build
run: just build-extension
- name: VSCode extension pnpm build and package
run: just package-extension
plugin:
name: Intellij Plugin
if: github.event_name != 'pull_request' || github.event.action == 'enqueued' || contains( github.event.pull_request.labels.*.name, 'run-all')
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ jobs:
git push origin main
vscode-release:
name: Release VSCode Extension
# Disabled for now as it's broken.
if: false
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
6 changes: 3 additions & 3 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ install-extension: build-extension

# Build and package the VSCode extension
package-extension: build-extension
@cd extensions/vscode && vsce package
@cd extensions/vscode && vsce package --no-dependencies

# Publish the VSCode extension
publish-extension: package-extension
@cd extensions/vscode && vsce publish
@cd extensions/vscode && vsce publish --no-dependencies

build-intellij-plugin:
@cd extensions/intellij && gradle buildPlugin
Expand Down Expand Up @@ -245,4 +245,4 @@ storybook:

# Build an FTL Docker image.
build-docker name:
docker build --platform linux/amd64 -t ftl0/ftl-{{name}}:"${GITHUB_SHA:-$(git rev-parse HEAD)}" -t ftl0/ftl-{{name}}:latest -f Dockerfile.{{name}} .
docker build --platform linux/amd64 -t ftl0/ftl-{{name}}:"${GITHUB_SHA:-$(git rev-parse HEAD)}" -t ftl0/ftl-{{name}}:latest -f Dockerfile.{{name}} .

0 comments on commit b839df5

Please sign in to comment.