mirror of
https://github.com/VSCodium/vscodium
synced 2024-10-01 08:33:30 +00:00
ci: add single event to dispatch all build [skip ci]
This commit is contained in:
parent
8606615423
commit
8bb53bf173
2
.github/workflows/stable-linux.yml
vendored
2
.github/workflows/stable-linux.yml
vendored
|
@ -9,6 +9,8 @@ on:
|
|||
test_asset_builder:
|
||||
type: boolean
|
||||
description: Test the assets builder
|
||||
repository_dispatch:
|
||||
types: [stable]
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
|
|
2
.github/workflows/stable-macos.yml
vendored
2
.github/workflows/stable-macos.yml
vendored
|
@ -9,6 +9,8 @@ on:
|
|||
test_asset_builder:
|
||||
type: boolean
|
||||
description: Test the assets builder
|
||||
repository_dispatch:
|
||||
types: [stable]
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
|
|
25
.github/workflows/stable-spearhead.yml
vendored
25
.github/workflows/stable-spearhead.yml
vendored
|
@ -6,6 +6,9 @@ on:
|
|||
new_release:
|
||||
type: boolean
|
||||
description: Force new Release
|
||||
force_dispatch:
|
||||
type: boolean
|
||||
description: Force dispatch
|
||||
schedule:
|
||||
- cron: '0 18 * * *'
|
||||
|
||||
|
@ -69,31 +72,19 @@ jobs:
|
|||
GITHUB_USERNAME: ${{ github.repository_owner }}
|
||||
if: env.SHOULD_BUILD == 'yes'
|
||||
|
||||
- name: Prepare assets
|
||||
- name: Prepare source
|
||||
run: ./prepare_src.sh
|
||||
if: env.SHOULD_BUILD == 'yes'
|
||||
|
||||
- name: Release
|
||||
- name: Release source
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
|
||||
GITHUB_USERNAME: ${{ github.repository_owner }}
|
||||
run: ./release.sh
|
||||
if: env.SHOULD_BUILD == 'yes'
|
||||
|
||||
- name: Dispatch Linux build
|
||||
- name: Dispatch builds
|
||||
uses: peter-evans/repository-dispatch@v2
|
||||
with:
|
||||
event-type: 'stable-linux'
|
||||
if: env.SHOULD_BUILD == 'yes'
|
||||
|
||||
- name: Dispatch Windows build
|
||||
uses: peter-evans/repository-dispatch@v2
|
||||
with:
|
||||
event-type: 'stable-windows'
|
||||
if: env.SHOULD_BUILD == 'yes'
|
||||
|
||||
- name: Dispatch macOS build
|
||||
uses: peter-evans/repository-dispatch@v2
|
||||
with:
|
||||
event-type: 'stable-macos'
|
||||
if: env.SHOULD_BUILD == 'yes'
|
||||
event-type: 'stable'
|
||||
if: env.SHOULD_BUILD == 'yes' || github.event.inputs.force_dispatch == 'true'
|
||||
|
|
2
.github/workflows/stable-windows.yml
vendored
2
.github/workflows/stable-windows.yml
vendored
|
@ -9,6 +9,8 @@ on:
|
|||
test_asset_builder:
|
||||
type: boolean
|
||||
description: Test the assets builder
|
||||
repository_dispatch:
|
||||
types: [stable]
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
|
|
Loading…
Reference in a new issue