diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7262d5..29935fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,15 +1,18 @@ name: Build V8 on: - push: - branches: [ master ] + workflow_dispatch: + inputs: + version: + description: 'V8 version' + required: true + jobs: build: runs-on: windows-latest strategy: matrix: - version: ['8.3', '8.4', '8.5'] platform: ['x64', 'x86'] lib: ['shared'] #, 'monolith'] steps: @@ -17,10 +20,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Setup Python2 - uses: actions/setup-python@v2 + - name: Setup Python + uses: actions/setup-python@v4 with: - python-version: '2.x' + python-version: '3.x' - name: Setup NuGet uses: nuget/setup-nuget@v1 with: @@ -29,9 +32,9 @@ jobs: - name: Enable Developer Command Prompt uses: ilammy/msvc-dev-cmd@v1.3.0 with: - toolset: '14.2' + vsversion: '2022' - name: Build - run: python build.py --version=${{ matrix.version }} --platform=${{ matrix.platform }} --libs=${{ matrix.lib }} --use-clang + run: python build.py --version=${{ github.event.inputs.version }} --platform=${{ matrix.platform }} --libs=${{ matrix.lib }} --use-clang #- name: Store packages # uses: actions/upload-artifact@v2 # with: