@@ -15,15 +15,15 @@ jobs:
15
15
runs-on : windows-latest
16
16
steps :
17
17
- name : Setup Node.js
18
- uses : actions/setup-node@v4.0.4
18
+ uses : actions/setup-node@v4
19
19
with :
20
20
node-version : 20
21
21
22
22
- name : Checkout Code
23
- uses : actions/checkout@v4.2.1
23
+ uses : actions/checkout@v4
24
24
25
25
- name : Setup Visual Studio Environment
26
- uses : egor-tensin/vs-shell@v2.1
26
+ uses : egor-tensin/vs-shell@v2
27
27
28
28
- name : Compile Library
29
29
run : cl /O2 /std:c++17 /LD /Zi FileSystem.cc
35
35
run : powershell Compress-Archive -Path FileSystem.dll,FileSystem.lib,FileSystem.pdb,FileSystem.h,fsdef.h -DestinationPath FileSystem-windows.zip
36
36
37
37
- name : Upload Library
38
- uses : actions/upload-artifact@v4.4.1
38
+ uses : actions/upload-artifact@v4
39
39
with :
40
40
name : FileSystem-windows.zip
41
41
path : FileSystem-windows.zip
@@ -44,12 +44,12 @@ jobs:
44
44
runs-on : ubuntu-latest
45
45
steps :
46
46
- name : Setup Node.js
47
- uses : actions/setup-node@v4.0.4
47
+ uses : actions/setup-node@v4
48
48
with :
49
49
node-version : 20
50
50
51
51
- name : Checkout Code
52
- uses : actions/checkout@v4.2.1
52
+ uses : actions/checkout@v4
53
53
54
54
- name : Compile Library
55
55
run : g++ -O2 -g -fPIC -shared -o FileSystem.so FileSystem.cc
61
61
run : zip FileSystem-linux.zip FileSystem.so FileSystem.h fsdef.h
62
62
63
63
- name : Upload Library
64
- uses : actions/upload-artifact@v4.4.1
64
+ uses : actions/upload-artifact@v4
65
65
with :
66
66
name : FileSystem-linux.zip
67
67
path : FileSystem-linux.zip
@@ -72,12 +72,12 @@ jobs:
72
72
runs-on : ubuntu-latest
73
73
steps :
74
74
- name : Setup Node.js
75
- uses : actions/setup-node@v4.0.4
75
+ uses : actions/setup-node@v4
76
76
with :
77
77
node-version : 20
78
78
79
79
- name : Checkout Code
80
- uses : actions/checkout@v4.2.1
80
+ uses : actions/checkout@v4
81
81
82
82
- name : Get Version
83
83
run : |
@@ -86,12 +86,12 @@ jobs:
86
86
echo "VERSION=$VERSION" >> $GITHUB_ENV
87
87
88
88
- name : Download Windows Library
89
- uses : actions/download-artifact@v4.1.8
89
+ uses : actions/download-artifact@v4
90
90
with :
91
91
name : FileSystem-windows.zip
92
92
93
93
- name : Download Linux Library
94
- uses : actions/download-artifact@v4.1.8
94
+ uses : actions/download-artifact@v4
95
95
with :
96
96
name : FileSystem-linux.zip
97
97
@@ -123,7 +123,7 @@ jobs:
123
123
- name : Create Release
124
124
id : create_release
125
125
if : env.release_exists == 'false'
126
- uses : actions/create-release@v1.1.4
126
+ uses : actions/create-release@v1
127
127
env :
128
128
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
129
129
with :
@@ -132,7 +132,7 @@ jobs:
132
132
body : " Automated Release of Library Builds"
133
133
134
134
- name : Upload Windows Library
135
- uses : actions/upload-release-asset@v1.0.2
135
+ uses : actions/upload-release-asset@v1
136
136
env :
137
137
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
138
138
with :
@@ -142,7 +142,7 @@ jobs:
142
142
asset_content_type : application/zip
143
143
144
144
- name : Upload Linux Library
145
- uses : actions/upload-release-asset@v1.0.2
145
+ uses : actions/upload-release-asset@v1
146
146
env :
147
147
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
148
148
with :
@@ -160,6 +160,6 @@ jobs:
160
160
161
161
- name : Publish to NPM
162
162
if : env.release_exists == 'false'
163
- uses : JS-DevTools/npm-publish@v3.1.1
163
+ uses : JS-DevTools/npm-publish@v3
164
164
with :
165
165
token : ${{ secrets.NPM_TOKEN }}
0 commit comments