Skip to content

Commit 4350919

Browse files
Merge pull request #70 from gjsjohnmurray/fix-67
Avoid risk of bad dirname when username is unusual
2 parents 84eb077 + 478006d commit 4350919

5 files changed

Lines changed: 408 additions & 364 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
outputs:
3232
taggedbranch: ${{ steps.find-branch.outputs.taggedbranch }}
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v6
3535
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
3636
- name: Find which branch the release tag points at
3737
id: find-branch
@@ -64,9 +64,9 @@ jobs:
6464
echo $VERSION > meta.version
6565
echo $NAME > meta.name
6666
- name: Use Node.js
67-
uses: actions/setup-node@v4
67+
uses: actions/setup-node@v6
6868
with:
69-
node-version: 20
69+
node-version: 24
7070
- run: npm install
7171
- name: lint
7272
if: runner.os == 'Linux-NOSUCH'
@@ -80,12 +80,12 @@ jobs:
8080
if: runner.os == 'Linux'
8181
run: |
8282
npx vsce package -o ${{ steps.set-version.outputs.name }}.vsix
83-
- uses: actions/upload-artifact@v4
83+
- uses: actions/upload-artifact@v6
8484
if: (runner.os == 'Linux') && (github.event_name != 'release')
8585
with:
8686
name: ${{ steps.set-version.outputs.name }}.vsix
8787
path: ${{ steps.set-version.outputs.name }}.vsix
88-
- uses: actions/upload-artifact@v4
88+
- uses: actions/upload-artifact@v6
8989
if: runner.os == 'Linux'
9090
with:
9191
name: meta
@@ -97,7 +97,7 @@ jobs:
9797
runs-on: ubuntu-latest
9898
needs: build
9999
steps:
100-
- uses: actions/download-artifact@v4
100+
- uses: actions/download-artifact@v6
101101
with:
102102
name: meta
103103
path: .
@@ -108,7 +108,7 @@ jobs:
108108
set -x
109109
echo "version=`cat meta.version`" >> $GITHUB_OUTPUT
110110
echo "name=`cat meta.name`" >> $GITHUB_OUTPUT
111-
- uses: actions/download-artifact@v4
111+
- uses: actions/download-artifact@v6
112112
with:
113113
name: ${{ steps.set-version.outputs.name }}.vsix
114114
- name: Create Release
@@ -125,18 +125,18 @@ jobs:
125125
if: github.event_name == 'release' && needs.build.outputs.taggedbranch == 'main'
126126
runs-on: ubuntu-latest
127127
steps:
128-
- uses: actions/checkout@v4
128+
- uses: actions/checkout@v6
129129
with:
130130
ref: main
131131
token: ${{ secrets.TOKEN }}
132-
- uses: actions/download-artifact@v4
132+
- uses: actions/download-artifact@v6
133133
with:
134134
name: meta
135135
path: .
136136
- name: Use Node.js
137-
uses: actions/setup-node@v4
137+
uses: actions/setup-node@v6
138138
with:
139-
node-version: 20
139+
node-version: 24
140140
- name: Prepare build
141141
id: set-version
142142
run: |

.vscode/settings.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,4 @@
1111
"maxConcurrentConnections": 0,
1212
"mapped": false
1313
},
14-
"objectscript.conn": {
15-
"active": true,
16-
"server": "docker-52774",
17-
"ns": "USER",
18-
"username": "_SYSTEM"
19-
},
2014
}

0 commit comments

Comments
 (0)