mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
* build(deps): bump actions/checkout from 4.2.2 to 5.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](11bd71901b...08c6903cd8)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: remove inaccurate version information
Version can easily be determined from sha
* ci: link node 24 for linux arm testing
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
74 lines
2.5 KiB
YAML
74 lines
2.5 KiB
YAML
name: Build Git Cache
|
|
# This workflow updates git cache on the cross-instance cache volumes
|
|
# It runs daily at midnight.
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
build-git-cache-linux:
|
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
|
container:
|
|
image: ghcr.io/electron/build:bc2f48b2415a670de18d13605b1cf0eb5fdbaae1
|
|
options: --user root
|
|
volumes:
|
|
- /mnt/cross-instance-cache:/mnt/cross-instance-cache
|
|
env:
|
|
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm=True --custom-var=checkout_arm64=True'
|
|
steps:
|
|
- name: Checkout Electron
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
|
|
with:
|
|
path: src/electron
|
|
fetch-depth: 0
|
|
- name: Build Git Cache
|
|
uses: ./src/electron/.github/actions/build-git-cache
|
|
with:
|
|
target-platform: linux
|
|
|
|
build-git-cache-windows:
|
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
|
container:
|
|
image: ghcr.io/electron/build:bc2f48b2415a670de18d13605b1cf0eb5fdbaae1
|
|
options: --user root --device /dev/fuse --cap-add SYS_ADMIN
|
|
volumes:
|
|
- /mnt/win-cache:/mnt/win-cache
|
|
env:
|
|
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_win=True'
|
|
TARGET_OS: 'win'
|
|
steps:
|
|
- name: Checkout Electron
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
|
|
with:
|
|
path: src/electron
|
|
fetch-depth: 0
|
|
- name: Build Git Cache
|
|
uses: ./src/electron/.github/actions/build-git-cache
|
|
with:
|
|
target-platform: win
|
|
|
|
build-git-cache-macos:
|
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
|
# This job updates the same git cache as linux, so it needs to run after the linux one.
|
|
needs: build-git-cache-linux
|
|
container:
|
|
image: ghcr.io/electron/build:bc2f48b2415a670de18d13605b1cf0eb5fdbaae1
|
|
options: --user root
|
|
volumes:
|
|
- /mnt/cross-instance-cache:/mnt/cross-instance-cache
|
|
env:
|
|
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_mac=True --custom-var=host_os=mac'
|
|
steps:
|
|
- name: Checkout Electron
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
|
|
with:
|
|
path: src/electron
|
|
fetch-depth: 0
|
|
- name: Build Git Cache
|
|
uses: ./src/electron/.github/actions/build-git-cache
|
|
with:
|
|
target-platform: macos |