mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-25 12:20:15 +10:00
ci: add single event to dispatch all build [skip ci]
This commit is contained in:
2
.github/workflows/stable-linux.yml
vendored
2
.github/workflows/stable-linux.yml
vendored
@@ -9,6 +9,8 @@ on:
|
|||||||
test_asset_builder:
|
test_asset_builder:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Test the assets builder
|
description: Test the assets builder
|
||||||
|
repository_dispatch:
|
||||||
|
types: [stable]
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
|
|||||||
2
.github/workflows/stable-macos.yml
vendored
2
.github/workflows/stable-macos.yml
vendored
@@ -9,6 +9,8 @@ on:
|
|||||||
test_asset_builder:
|
test_asset_builder:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Test the assets builder
|
description: Test the assets builder
|
||||||
|
repository_dispatch:
|
||||||
|
types: [stable]
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
|
|||||||
25
.github/workflows/stable-spearhead.yml
vendored
25
.github/workflows/stable-spearhead.yml
vendored
@@ -6,6 +6,9 @@ on:
|
|||||||
new_release:
|
new_release:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Force new Release
|
description: Force new Release
|
||||||
|
force_dispatch:
|
||||||
|
type: boolean
|
||||||
|
description: Force dispatch
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 18 * * *'
|
- cron: '0 18 * * *'
|
||||||
|
|
||||||
@@ -69,31 +72,19 @@ jobs:
|
|||||||
GITHUB_USERNAME: ${{ github.repository_owner }}
|
GITHUB_USERNAME: ${{ github.repository_owner }}
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Prepare assets
|
- name: Prepare source
|
||||||
run: ./prepare_src.sh
|
run: ./prepare_src.sh
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Release
|
- name: Release source
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
|
||||||
GITHUB_USERNAME: ${{ github.repository_owner }}
|
GITHUB_USERNAME: ${{ github.repository_owner }}
|
||||||
run: ./release.sh
|
run: ./release.sh
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: Dispatch Linux build
|
- name: Dispatch builds
|
||||||
uses: peter-evans/repository-dispatch@v2
|
uses: peter-evans/repository-dispatch@v2
|
||||||
with:
|
with:
|
||||||
event-type: 'stable-linux'
|
event-type: 'stable'
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes' || github.event.inputs.force_dispatch == 'true'
|
||||||
|
|
||||||
- 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'
|
|
||||||
|
|||||||
2
.github/workflows/stable-windows.yml
vendored
2
.github/workflows/stable-windows.yml
vendored
@@ -9,6 +9,8 @@ on:
|
|||||||
test_asset_builder:
|
test_asset_builder:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Test the assets builder
|
description: Test the assets builder
|
||||||
|
repository_dispatch:
|
||||||
|
types: [stable]
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
|
|||||||
Reference in New Issue
Block a user