File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 6
6
workflow_dispatch :
7
7
8
8
jobs :
9
+ package :
10
+ name : Package Extension
11
+ runs-on : ubuntu-latest
12
+ container :
13
+ image : swift:6.0-jammy
14
+ steps :
15
+ - name : Checkout repository
16
+ uses : actions/checkout@v4
17
+ - name : Build Extension
18
+ run : |
19
+ export NODE_VERSION=v18.19.0
20
+ export NODE_PATH=/usr/local/nvm/versions/node/v18.19.0/bin
21
+ export NVM_DIR=/usr/local/nvm
22
+ . .github/workflows/scripts/setup-linux.sh
23
+ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
24
+ npm ci
25
+ npm run compile
26
+ npm run package
27
+ - name : Archive production artifacts
28
+ uses : actions/upload-artifact@v4
29
+ if : always()
30
+ with :
31
+ name : vscode-swift-extension
32
+ path : |
33
+ *.vsix
9
34
tests_release :
10
35
name : Test Release
11
36
uses : swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
You can’t perform that action at this time.
0 commit comments