Update build.ps1 #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CEF Build CI | |
on: | |
push: | |
branches: | |
- m124-ci | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- name: Support longpaths | |
run: git config --global core.longpaths true | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
#- name: Set up Python 3.8 | |
# uses: actions/setup-python@v4 | |
# with: | |
# python-version: '3.8' | |
# architecture: 'x64' | |
- name: Add depot_tools and ninja to PATH | |
run: | | |
echo "$env:GITHUB_WORKSPACE\depot_tools" >> $GITHUB_PATH | |
echo "$env:GITHUB_WORKSPACE\ninja" >> $GITHUB_PATH | |
- name: Prepare Depot | |
working-directory: ${{ github.workspace }} | |
run: | | |
cd .\build | |
.\prepare-depot.ps1 | |
- name: Build CEF | |
working-directory: ${{ github.workspace }} | |
run: | | |
cd .\build | |
.\build.ps1 | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: release_build | |
path: chromium_git/chromium/src/cef/binary_distrib/*.zip | |
- name: Create draft release | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
draft: true | |
automatic_release_tag: "latest" | |
title: "Development Build" | |
files: | | |
chromium_git/chromium/src/cef/binary_distrib/*.zip |