Skip to content

Commit

Permalink
bump version for minor upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
mdesmet committed Aug 14, 2024
1 parent c806b29 commit 9a3d15d
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 64 deletions.
19 changes: 19 additions & 0 deletions .github/actions/common-build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# .github/actions/common-build/action.yml
name: "Common Build"
description: "Common build steps for the project"

runs:
using: "composite"
steps:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm install
shell: bash # Explicitly define the shell
- run: npm install
shell: bash # Explicitly define the shell
working-directory: ./new_lineage_panel
- run: npm install
shell: bash # Explicitly define the shell
working-directory: ./webview_panels
47 changes: 34 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,39 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm install
- run: npm install
working-directory: ./new_lineage_panel
- run: npm install
working-directory: ./webview_panels
- name: Run common build steps
uses: ./.github/actions/common-build
release-vsstudio-marketplace:
runs-on: ubuntu-latest
if: success() && startsWith( github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run common build steps
uses: ./.github/actions/common-build
- name: Publish Visual Studio Marketplace
if: success() && startsWith( github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
uses: ./.github/workflows/release.yml#release-vsstudio-marketplace
run: |
if [ "${{ github.event_name }}" == "release" ] && [ "${{ github.event.release.prerelease }}" == "true" ]; then
npm run deploy-vscode -- --pre-release
else
npm run deploy-vscode
fi
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
release-openvsx-marketplace:
runs-on: ubuntu-latest
if: success() && startsWith( github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run common build steps
uses: ./.github/actions/common-build
- name: Publish OpenVSX Marketplace
if: success() && startsWith( github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
uses: ./.github/workflows/release.yml#release-openvsx-marketplace
run: |
if [ "${{ github.event_name }}" == "release" ] && [ "${{ github.event.release.prerelease }}" == "true" ]; then
npm run deploy-openvsx -- --pre-release
else
npm run deploy-openvsx
fi
env:
OVSX_PAT: ${{ secrets.OVSX_PAT }}
50 changes: 0 additions & 50 deletions .github/workflows/release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"bugs": {
"url": "https://github.com/AltimateAI/vscode-dbt-power-user/issues"
},
"version": "0.44.0",
"version": "0.44.1",
"engines": {
"vscode": "^1.81.0"
},
Expand Down

0 comments on commit 9a3d15d

Please sign in to comment.