ci: add input to set a specific built version [skip ci]

This commit is contained in:
Baptiste Augrain
2022-08-30 10:46:58 +02:00
parent b803eaaefe
commit ba9a6a1319
4 changed files with 33 additions and 7 deletions

View File

@@ -2,6 +2,10 @@ name: insider-linux
on:
workflow_dispatch:
inputs:
release_version:
type: string
description: Forced release version
schedule:
- cron: '0 1 * * *'
push:
@@ -53,6 +57,8 @@ jobs:
run: npm install -g yarn
- name: Clone VSCode repo
env:
RELEASE_VERSION: ${{ github.event.inputs.release_version }}
run: ./get_repo.sh
- name: Check PR or cron

View File

@@ -2,6 +2,10 @@ name: insider-macos
on:
workflow_dispatch:
inputs:
release_version:
type: string
description: Forced release version
schedule:
- cron: '0 1 * * *'
push:
@@ -38,6 +42,8 @@ jobs:
node-version: 16
- name: Clone VSCode repo
env:
RELEASE_VERSION: ${{ github.event.inputs.release_version }}
run: . get_repo.sh
- name: Check PR or cron
@@ -46,7 +52,6 @@ jobs:
- name: Check existing VSCodium tags/releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NEW_RELEASE: ${{ github.event.inputs.new_release }}
run: . check_tags.sh
if: env.SHOULD_DEPLOY == 'yes'

View File

@@ -2,6 +2,10 @@ name: insider-windows
on:
workflow_dispatch:
inputs:
release_version:
type: string
description: Forced release version
schedule:
- cron: '0 1 * * *'
push:
@@ -48,6 +52,8 @@ jobs:
python-version: '3.x'
- name: Clone VSCode repo
env:
RELEASE_VERSION: ${{ github.event.inputs.release_version }}
run: ./get_repo.sh
- name: Check PR or cron
@@ -56,7 +62,6 @@ jobs:
- name: Check existing VSCodium tags/releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NEW_RELEASE: ${{ github.event.inputs.new_release }}
run: ./check_tags.sh
if: env.SHOULD_DEPLOY == 'yes'