File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,48 @@ jobs:
172
172
env :
173
173
OVSX_PAT : ${{ secrets.RSLINT_OVSX_PAT }}
174
174
run : |
175
+ sleep infinity
176
+ if [ "${{ inputs.dry_run }}" = "true" ]; then
177
+ echo "🚀 DRY RUN: Building and packaging for Open VSX Registry without publishing..."
178
+ if [ "${{ inputs.extension_type }}" = "pre-release" ]; then
179
+ pnpm publish:ovsx --prerelease --dry-run
180
+ else
181
+ pnpm publish:ovsx --dry-run
182
+ fi
183
+ else
184
+ if [ "${{ inputs.extension_type }}" = "pre-release" ]; then
185
+ pnpm publish:ovsx --prerelease
186
+ else
187
+ pnpm publish:ovsx
188
+ fi
189
+ fi
190
+
191
+ publish-extension-open-vsx-selfhost :
192
+ if : ${{ inputs.to_release == 'all' || inputs.to_release == 'extension' }}
193
+ name : ${{ inputs.dry_run == true && 'Dry Run - Open VSX Extensions' || 'Publish Open VSX Extensions' }}
194
+ needs : [build]
195
+ runs-on : rspack-ubuntu-22.04-large
196
+ steps :
197
+ - name : Checkout
198
+ uses : actions/checkout@v4
199
+ with :
200
+ fetch-depth : 1
201
+ ref : ${{ github.event.inputs.branch }}
202
+ submodules : true
203
+
204
+ - name : Setup Node
205
+ uses : ./.github/actions/setup-node
206
+
207
+ - name : Download Artifact
208
+
209
+ with :
210
+ path : binaries
211
+
212
+ - name : Build and publish to Open VSX Registry
213
+ env :
214
+ OVSX_PAT : ${{ secrets.RSLINT_OVSX_PAT }}
215
+ run : |
216
+ sleep infinity
175
217
if [ "${{ inputs.dry_run }}" = "true" ]; then
176
218
echo "🚀 DRY RUN: Building and packaging for Open VSX Registry without publishing..."
177
219
if [ "${{ inputs.extension_type }}" = "pre-release" ]; then
You can’t perform that action at this time.
0 commit comments