Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
prikolium-cfx authored May 17, 2024
1 parent 0c21f5f commit 56e7a3a
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: V8 Build CI

on:
workflow_dispatch:

jobs:
build:
runs-on: windows-2022

steps:
- name: Support longpaths
run: git config --global core.longpaths true

- name: Checkout code
uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Prepare Depot
working-directory: ${{ github.workspace }}
run: |
.\build\prepare-depot.ps1
- name: Build V8
working-directory: ${{ github.workspace }}
run: |
.\build\build.ps1
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: release_build
path: build_results/*.lib

- name: Create draft release
uses: softprops/action-gh-release@v2
with:
draft: true
name: ${{ format('build-{0}', github.run_id) }}
tag_name: ${{ format('build-{0}', github.run_id) }}
files: build_results/*.lib

0 comments on commit 56e7a3a

Please sign in to comment.