Added workflow ability to build explicit git refs (#660)
This commit is contained in:
Родитель
ee4de63c0f
Коммит
32a8bfc331
|
@ -1,6 +1,7 @@
|
|||
name: Publish (insiders-fast)
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 8 * * *' # Every day at 8am UTC (12am PST)
|
||||
|
||||
|
|
|
@ -34,6 +34,10 @@ on:
|
|||
type: boolean
|
||||
required: false
|
||||
default: false
|
||||
ref:
|
||||
type: string
|
||||
required: false
|
||||
default: ${{ github.ref }}
|
||||
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
|
@ -48,6 +52,7 @@ jobs:
|
|||
with:
|
||||
submodules: recursive
|
||||
clean: true
|
||||
ref: ${{ inputs.ref }}
|
||||
|
||||
- name: Run container
|
||||
id: container
|
||||
|
|
|
@ -2,6 +2,12 @@ name: Publish (prod)
|
|||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ref:
|
||||
description: 'Git ref to publish'
|
||||
required: true
|
||||
default: ${{ github.ref }}
|
||||
type: string
|
||||
push:
|
||||
tags:
|
||||
- v*.*.*
|
||||
|
|
Загрузка…
Ссылка в новой задаче