@@ -92,17 +92,17 @@ jobs:
92
92
- name : Generate dbscheme
93
93
if : ${{ matrix.os == 'ubuntu-latest' && steps.cache-extractor.outputs.cache-hit != 'true'}}
94
94
run : ../target/release/codeql-extractor-ruby generate --dbscheme ql/lib/ruby.dbscheme --library ql/lib/codeql/ruby/ast/internal/TreeSitter.qll
95
- - uses : actions/upload-artifact@v3
95
+ - uses : actions/upload-artifact@v4
96
96
if : ${{ matrix.os == 'ubuntu-latest' }}
97
97
with :
98
98
name : ruby.dbscheme
99
99
path : ruby/ql/lib/ruby.dbscheme
100
- - uses : actions/upload-artifact@v3
100
+ - uses : actions/upload-artifact@v4
101
101
if : ${{ matrix.os == 'ubuntu-latest' }}
102
102
with :
103
103
name : TreeSitter.qll
104
104
path : ruby/ql/lib/codeql/ruby/ast/internal/TreeSitter.qll
105
- - uses : actions/upload-artifact@v3
105
+ - uses : actions/upload-artifact@v4
106
106
with :
107
107
name : extractor-${{ matrix.os }}
108
108
path : |
@@ -134,7 +134,7 @@ jobs:
134
134
PACK_FOLDER=$(readlink -f "$PACKS"/codeql/ruby-queries/*)
135
135
codeql generate query-help --format=sarifv2.1.0 --output="${PACK_FOLDER}/rules.sarif" ql/src
136
136
(cd ql/src; find queries \( -name '*.qhelp' -o -name '*.rb' -o -name '*.erb' \) -exec bash -c 'mkdir -p "'"${PACK_FOLDER}"'/$(dirname "{}")"' \; -exec cp "{}" "${PACK_FOLDER}/{}" \;)
137
- - uses : actions/upload-artifact@v3
137
+ - uses : actions/upload-artifact@v4
138
138
with :
139
139
name : codeql-ruby-queries
140
140
path : |
@@ -147,19 +147,19 @@ jobs:
147
147
needs : [build, compile-queries]
148
148
steps :
149
149
- uses : actions/checkout@v4
150
- - uses : actions/download-artifact@v3
150
+ - uses : actions/download-artifact@v4
151
151
with :
152
152
name : ruby.dbscheme
153
153
path : ruby/ruby
154
- - uses : actions/download-artifact@v3
154
+ - uses : actions/download-artifact@v4
155
155
with :
156
156
name : extractor-ubuntu-latest
157
157
path : ruby/linux64
158
- - uses : actions/download-artifact@v3
158
+ - uses : actions/download-artifact@v4
159
159
with :
160
160
name : extractor-windows-latest
161
161
path : ruby/win64
162
- - uses : actions/download-artifact@v3
162
+ - uses : actions/download-artifact@v4
163
163
with :
164
164
name : extractor-macos-latest
165
165
path : ruby/osx64
@@ -172,13 +172,13 @@ jobs:
172
172
cp win64/codeql-extractor-ruby.exe ruby/tools/win64/extractor.exe
173
173
chmod +x ruby/tools/{linux64,osx64}/extractor
174
174
zip -rq codeql-ruby.zip ruby
175
- - uses : actions/upload-artifact@v3
175
+ - uses : actions/upload-artifact@v4
176
176
with :
177
177
name : codeql-ruby-pack
178
178
path : ruby/codeql-ruby.zip
179
179
retention-days : 1
180
180
include-hidden-files : true
181
- - uses : actions/download-artifact@v3
181
+ - uses : actions/download-artifact@v4
182
182
with :
183
183
name : codeql-ruby-queries
184
184
path : ruby/qlpacks
@@ -190,7 +190,7 @@ jobs:
190
190
]
191
191
}' > .codeqlmanifest.json
192
192
zip -rq codeql-ruby-bundle.zip .codeqlmanifest.json ruby qlpacks
193
- - uses : actions/upload-artifact@v3
193
+ - uses : actions/upload-artifact@v4
194
194
with :
195
195
name : codeql-ruby-bundle
196
196
path : ruby/codeql-ruby-bundle.zip
@@ -214,7 +214,7 @@ jobs:
214
214
uses : ./.github/actions/fetch-codeql
215
215
216
216
- name : Download Ruby bundle
217
- uses : actions/download-artifact@v3
217
+ uses : actions/download-artifact@v4
218
218
with :
219
219
name : codeql-ruby-bundle
220
220
path : ${{ runner.temp }}
0 commit comments