mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-25 20:30:16 +10:00
feat: add flag to test assets builder in CI (#1590)
This commit is contained in:
7
.github/workflows/insider-linux.yml
vendored
7
.github/workflows/insider-linux.yml
vendored
@@ -9,6 +9,9 @@ on:
|
|||||||
new_release:
|
new_release:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Force new Release
|
description: Force new Release
|
||||||
|
test_asset_builder:
|
||||||
|
type: boolean
|
||||||
|
description: Test the assets builder
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 8 * * *'
|
- cron: '0 8 * * *'
|
||||||
push:
|
push:
|
||||||
@@ -51,6 +54,8 @@ jobs:
|
|||||||
run: ./get_repo.sh
|
run: ./get_repo.sh
|
||||||
|
|
||||||
- name: Check PR or cron
|
- name: Check PR or cron
|
||||||
|
env:
|
||||||
|
TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }}
|
||||||
run: ./check_cron_or_pr.sh
|
run: ./check_cron_or_pr.sh
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -181,7 +186,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare assets
|
- name: Prepare assets
|
||||||
run: ./prepare_assets.sh
|
run: ./prepare_assets.sh
|
||||||
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
|
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true')
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
|
|||||||
7
.github/workflows/insider-macos.yml
vendored
7
.github/workflows/insider-macos.yml
vendored
@@ -9,6 +9,9 @@ on:
|
|||||||
new_release:
|
new_release:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Force new Release
|
description: Force new Release
|
||||||
|
test_asset_builder:
|
||||||
|
type: boolean
|
||||||
|
description: Test the assets builder
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 8 * * *'
|
- cron: '0 8 * * *'
|
||||||
push:
|
push:
|
||||||
@@ -58,6 +61,8 @@ jobs:
|
|||||||
run: . get_repo.sh
|
run: . get_repo.sh
|
||||||
|
|
||||||
- name: Check PR or cron
|
- name: Check PR or cron
|
||||||
|
env:
|
||||||
|
TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }}
|
||||||
run: . check_cron_or_pr.sh
|
run: . check_cron_or_pr.sh
|
||||||
|
|
||||||
- name: Check existing VSCodium tags/releases
|
- name: Check existing VSCodium tags/releases
|
||||||
@@ -79,7 +84,7 @@ jobs:
|
|||||||
CERTIFICATE_OSX_PASSWORD: ${{ secrets.CERTIFICATE_OSX_PASSWORD }}
|
CERTIFICATE_OSX_PASSWORD: ${{ secrets.CERTIFICATE_OSX_PASSWORD }}
|
||||||
CERTIFICATE_OSX_ID: ${{ secrets.CERTIFICATE_OSX_ID }}
|
CERTIFICATE_OSX_ID: ${{ secrets.CERTIFICATE_OSX_ID }}
|
||||||
run: ./prepare_assets.sh
|
run: ./prepare_assets.sh
|
||||||
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
|
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true')
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
|
|||||||
7
.github/workflows/insider-windows.yml
vendored
7
.github/workflows/insider-windows.yml
vendored
@@ -9,6 +9,9 @@ on:
|
|||||||
new_release:
|
new_release:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Force new Release
|
description: Force new Release
|
||||||
|
test_asset_builder:
|
||||||
|
type: boolean
|
||||||
|
description: Test the assets builder
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 8 * * *'
|
- cron: '0 8 * * *'
|
||||||
push:
|
push:
|
||||||
@@ -71,6 +74,8 @@ jobs:
|
|||||||
run: ./get_repo.sh
|
run: ./get_repo.sh
|
||||||
|
|
||||||
- name: Check PR or cron
|
- name: Check PR or cron
|
||||||
|
env:
|
||||||
|
TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }}
|
||||||
run: ./check_cron_or_pr.sh
|
run: ./check_cron_or_pr.sh
|
||||||
|
|
||||||
- name: Check existing VSCodium tags/releases
|
- name: Check existing VSCodium tags/releases
|
||||||
@@ -90,7 +95,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare assets
|
- name: Prepare assets
|
||||||
run: ./prepare_assets.sh
|
run: ./prepare_assets.sh
|
||||||
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
|
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true')
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
|
|||||||
7
.github/workflows/stable-linux.yml
vendored
7
.github/workflows/stable-linux.yml
vendored
@@ -9,6 +9,9 @@ on:
|
|||||||
force_version:
|
force_version:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Force update version
|
description: Force update version
|
||||||
|
test_asset_builder:
|
||||||
|
type: boolean
|
||||||
|
description: Test the assets builder
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 18 * * *'
|
- cron: '0 18 * * *'
|
||||||
push:
|
push:
|
||||||
@@ -48,6 +51,8 @@ jobs:
|
|||||||
run: ./get_repo.sh
|
run: ./get_repo.sh
|
||||||
|
|
||||||
- name: Check PR or cron
|
- name: Check PR or cron
|
||||||
|
env:
|
||||||
|
TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }}
|
||||||
run: ./check_cron_or_pr.sh
|
run: ./check_cron_or_pr.sh
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -176,7 +181,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare assets
|
- name: Prepare assets
|
||||||
run: ./prepare_assets.sh
|
run: ./prepare_assets.sh
|
||||||
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
|
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true')
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
|
|||||||
7
.github/workflows/stable-macos.yml
vendored
7
.github/workflows/stable-macos.yml
vendored
@@ -9,6 +9,9 @@ on:
|
|||||||
force_version:
|
force_version:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Force update version
|
description: Force update version
|
||||||
|
test_asset_builder:
|
||||||
|
type: boolean
|
||||||
|
description: Test the assets builder
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 18 * * *'
|
- cron: '0 18 * * *'
|
||||||
push:
|
push:
|
||||||
@@ -53,6 +56,8 @@ jobs:
|
|||||||
run: . get_repo.sh
|
run: . get_repo.sh
|
||||||
|
|
||||||
- name: Check PR or cron
|
- name: Check PR or cron
|
||||||
|
env:
|
||||||
|
TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }}
|
||||||
run: . check_cron_or_pr.sh
|
run: . check_cron_or_pr.sh
|
||||||
|
|
||||||
- name: Check existing VSCodium tags/releases
|
- name: Check existing VSCodium tags/releases
|
||||||
@@ -74,7 +79,7 @@ jobs:
|
|||||||
CERTIFICATE_OSX_PASSWORD: ${{ secrets.CERTIFICATE_OSX_PASSWORD }}
|
CERTIFICATE_OSX_PASSWORD: ${{ secrets.CERTIFICATE_OSX_PASSWORD }}
|
||||||
CERTIFICATE_OSX_ID: ${{ secrets.CERTIFICATE_OSX_ID }}
|
CERTIFICATE_OSX_ID: ${{ secrets.CERTIFICATE_OSX_ID }}
|
||||||
run: ./prepare_assets.sh
|
run: ./prepare_assets.sh
|
||||||
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
|
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true')
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
|
|||||||
7
.github/workflows/stable-windows.yml
vendored
7
.github/workflows/stable-windows.yml
vendored
@@ -9,6 +9,9 @@ on:
|
|||||||
force_version:
|
force_version:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Force update version
|
description: Force update version
|
||||||
|
test_asset_builder:
|
||||||
|
type: boolean
|
||||||
|
description: Test the assets builder
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 18 * * *'
|
- cron: '0 18 * * *'
|
||||||
push:
|
push:
|
||||||
@@ -67,6 +70,8 @@ jobs:
|
|||||||
run: ./get_repo.sh
|
run: ./get_repo.sh
|
||||||
|
|
||||||
- name: Check PR or cron
|
- name: Check PR or cron
|
||||||
|
env:
|
||||||
|
TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }}
|
||||||
run: ./check_cron_or_pr.sh
|
run: ./check_cron_or_pr.sh
|
||||||
|
|
||||||
- name: Check existing VSCodium tags/releases
|
- name: Check existing VSCodium tags/releases
|
||||||
@@ -86,7 +91,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare assets
|
- name: Prepare assets
|
||||||
run: ./prepare_assets.sh
|
run: ./prepare_assets.sh
|
||||||
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
|
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true')
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -14,9 +14,16 @@ elif [[ "${GITHUB_EVENT_NAME}" == "push" ]]; then
|
|||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
export SHOULD_DEPLOY="no"
|
export SHOULD_DEPLOY="no"
|
||||||
elif [[ "${GITHUB_EVENT_NAME}" == "workflow_dispatch" ]]; then
|
elif [[ "${GITHUB_EVENT_NAME}" == "workflow_dispatch" ]]; then
|
||||||
echo "It's a Dispatch"
|
if [[ "${TEST_ASSET_BUILDER}" == "true" ]]; then
|
||||||
|
echo "It's testing the assets builder"
|
||||||
|
|
||||||
export SHOULD_DEPLOY="yes"
|
export SHOULD_BUILD="yes"
|
||||||
|
export SHOULD_DEPLOY="no"
|
||||||
|
else
|
||||||
|
echo "It's a Dispatch"
|
||||||
|
|
||||||
|
export SHOULD_DEPLOY="yes"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "It's a Cron"
|
echo "It's a Cron"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user