Skip to content
Open
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
38 changes: 19 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: recursive

Expand All @@ -24,13 +24,13 @@ jobs:
echo "ref=$( cd native/polserver && git log -1 --format=%h )" >> $GITHUB_OUTPUT

- name: Cache polserver-build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: native/build/polserver
key: linux-polserver-build-full-${{ steps.get-ref.outputs.ref }}

- name: Cache polserver-src
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: native/polserver
key: linux-polserver-src-full-${{ steps.get-ref.outputs.ref }}
Expand All @@ -40,7 +40,7 @@ jobs:
- run: npm test

- name: Upload Extension Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: vscode-escript-native.linux-x64
path: native/build/Release/vscode-escript-native.linux-x64.node
Expand All @@ -50,7 +50,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: recursive

Expand All @@ -61,13 +61,13 @@ jobs:
echo "ref=$( cd native/polserver && git log -1 --format=%h )" >> $GITHUB_OUTPUT

- name: Cache polserver-build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: native/build/polserver
key: windows-polserver-build-full-${{ steps.get-ref.outputs.ref }}

- name: Cache polserver-src
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: native/polserver
key: windows-polserver-src-full-${{ steps.get-ref.outputs.ref }}
Expand All @@ -79,7 +79,7 @@ jobs:
- run: npm test

- name: Upload Extension Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: vscode-escript-native.win32-x64
path: native/build/Release/vscode-escript-native.win32-x64.node
Expand All @@ -89,7 +89,7 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: recursive

Expand All @@ -99,13 +99,13 @@ jobs:
echo "ref=$( cd native/polserver && git log -1 --format=%h )" >> $GITHUB_OUTPUT

- name: Cache polserver-build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: native/build/polserver
key: mac-polserver-build-full-${{ steps.get-ref.outputs.ref }}

- name: Cache polserver-src
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: native/polserver
key: mac-polserver-src-full-${{ steps.get-ref.outputs.ref }}
Expand All @@ -123,7 +123,7 @@ jobs:
- run: npm test

- name: Upload Extension Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: vscode-escript-native.darwin-universal
path: native/build/Release/vscode-escript-native.darwin-universal.node
Expand All @@ -134,7 +134,7 @@ jobs:
needs: [windows, mac, linux]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: recursive

Expand All @@ -144,41 +144,41 @@ jobs:
echo "ref=$( cd native/polserver && git log -1 --format=%h )" >> $GITHUB_OUTPUT

- name: Cache polserver-build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: native/build/polserver
key: linux-polserver-build-full-${{ steps.get-ref.outputs.ref }}

- name: Cache polserver-src
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: native/polserver
key: linux-polserver-src-full-${{ steps.get-ref.outputs.ref }}

- run: npm install

- name: Download Temporary Artifact darwin-universal
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: vscode-escript-native.darwin-universal
path: native/build/Release

- name: Download Temporary Artifact win32-x64
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: vscode-escript-native.win32-x64
path: native/build/Release

- name: Download Temporary Artifact linux-x64
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: vscode-escript-native.linux-x64
path: native/build/Release

- run: npx vsce package

- name: Upload Extension Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: escript-lsp-universal
path: escript-lsp-*.vsix
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: 20

Expand Down