Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Bump version to 1.1.2 to test actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Venthe committed Mar 31, 2023
1 parent ecb9a44 commit 2d1ae17
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 27 deletions.
27 changes: 4 additions & 23 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
on:
workflow_call: {}
push:
tags:
- "*"

name: Deploy Extension
name: On tag push
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js v16
uses: actions/setup-node@v3
with:
node-version: "16"
- run: npm ci
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
id: publishToOpenVSX
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
deploy-to-marketplaces:
needs: github-release
uses: ./.github/workflows/market-deploy.yml
6 changes: 3 additions & 3 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
- workflow_dispatch
name: Release to github
name: Release to Github
jobs:
github-release:
runs-on: ubuntu-latest
Expand All @@ -24,6 +24,6 @@ jobs:
fail_on_unmatched_files: true
files: ${{ steps.data.outputs.ASSET }}
generate_release_notes: true
deploy-to-stores:
deploy-to-marketplaces:
needs: github-release
uses: ./.github/workflows/deploy.yml
uses: ./.github/workflows/market-deploy.yml
25 changes: 25 additions & 0 deletions .github/workflows/market-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
- workflow_call
- workflow_dispatch
name: Deploy to marketplaces
jobs:
deploy-to-marketplaces:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js v16
uses: actions/setup-node@v3
with:
node-version: "16"
- run: npm ci
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
id: publishToOpenVSX
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
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": "fauxpilot",
"displayName": "Fauxpilot",
"description": "Get completions from Fauxpilot server",
"version": "1.1.1",
"version": "1.1.2",
"keywords": [
"code-suggestion",
"copilot",
Expand Down

0 comments on commit 2d1ae17

Please sign in to comment.