Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-bsaviano committed Apr 5, 2024
1 parent a473ac6 commit 5ce1835
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
platarch: [win32-x64, linux-x64, linux-arm64, alpine-x64, alpine-arm64, darwin-x64, darwin-arm64]
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Fetch tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set package name and version
Expand All @@ -48,22 +48,22 @@ jobs:
jq --arg version "$VERSION" '.version = $version' package.json > "$tmp" && mv "$tmp" package.json
echo $VERSION > .version
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- run: npm install
- name: Use correct .node binary file
run: cp -f ./server/lib/${{ matrix.platarch }}-isclexer.node ./server/lib/isclexer.node
- name: Build package
run: npx vsce package -o ${{ steps.set-version.outputs.name }}.vsix --target ${{ matrix.platarch }}
- name: Upload package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.set-version.outputs.name }}.vsix
path: ${{ steps.set-version.outputs.name }}.vsix
retention-days: 30
- name: Upload metadata
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: meta
retention-days: 1
Expand All @@ -74,15 +74,15 @@ jobs:
if: success() && github.event_name == 'push'
steps:
- name: Download packages and metadata
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Set version output
id: set-version
run: |
set -x
echo "version=`cat meta/.version`" >> $GITHUB_OUTPUT
- name: Create Release
id: create-release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.set-version.outputs.version }}
prerelease: ${{ github.event_name != 'release' }}
Expand All @@ -94,14 +94,14 @@ jobs:
if: success() && github.event_name == 'release'
steps:
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- run: npm install -g @vscode/vsce
- name: Download packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Attach packages to release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.event.release.tag_name }}
files: '**/*.vsix'
Expand All @@ -124,18 +124,18 @@ jobs:
if: github.event_name == 'release'
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: master
- name: Download metadata
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: meta
path: .
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- name: Create commit
run: |
VERSION=`cat .version`
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## [2.4.5] - 2024-XX-XX
- Fix issue [#312](https://github.com/intersystems/language-server/issues/312): Fix routine existence diagnostics for routines that only exist in OBJ form
- Fix issue [#313](https://github.com/intersystems/language-server/issues/313): Add Diagnostic when `ROUTINE` header is missing
- Fix issue [#314](https://github.com/intersystems/language-server/issues/314):
- Fix issue [#314](https://github.com/intersystems/language-server/issues/314): Suggest boolean class keywords for completion after typing `Not`
- Parser changes:
- DP-430347: Track variables in routine procedure blocks
- DP-430473: Fix variable tracking with embedded SQL in routine procedure blocks
Expand Down

0 comments on commit 5ce1835

Please sign in to comment.