Skip to content

Commit 4b83593

Browse files
committed
ci build script fixes
2 parents 0c21f5f + 56e7a3a commit 4b83593

File tree

2 files changed

+36
-35
lines changed

2 files changed

+36
-35
lines changed

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: V8 Build CI
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
runs-on: windows-2022
9+
10+
steps:
11+
- name: Support longpaths
12+
run: git config --global core.longpaths true
13+
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
with:
17+
submodules: 'recursive'
18+
19+
- name: Prepare Depot and build V8
20+
working-directory: ${{ github.workspace }}
21+
run: |
22+
.\build\prepare-depot.ps1 && .\build\build.ps1
23+
24+
- name: Upload artifacts
25+
uses: actions/upload-artifact@v4
26+
with:
27+
name: release_build
28+
path: build_results/*.lib
29+
30+
- name: Create draft release
31+
uses: softprops/action-gh-release@v2
32+
with:
33+
draft: true
34+
name: ${{ format('build-{0}', github.run_id) }}
35+
tag_name: ${{ format('build-{0}', github.run_id) }}
36+
files: build_results/*.lib

build/build.ps1.bak

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)