-
Notifications
You must be signed in to change notification settings - Fork 7
51 lines (48 loc) · 1.21 KB
/
Copy pathdev-build.yml
File metadata and controls
51 lines (48 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# SPDX-FileCopyrightText: Team OpenVPI
# SPDX-License-Identifier: Apache-2.0
name: Dev Build
on:
# push:
# branches:
# - main
# paths-ignore:
# - 'README.md'
# - 'LICENSE'
# - 'crowdin.yml'
# - '.github/**'
pull_request:
branches:
- main
paths-ignore:
- 'README.md'
- 'LICENSE'
- 'crowdin.yml'
- '.github/**'
- '**/translations/*.ts'
workflow_dispatch:
inputs:
identifier:
description: 'Version identifier'
required: false
type: string
use_ccache:
description: 'Use CCache'
required: false
type: boolean
default: true
use_cache:
description: 'Restore and save caches'
required: false
type: boolean
default: true
permissions:
contents: read
jobs:
Build:
uses: ./.github/workflows/build.yml
with:
source_sha: ${{ github.sha }}
build_type: dev
version_identifier: ${{ github.sha }}${{ github.event.inputs.identifier && '.' || '' }}${{ github.event.inputs.identifier }}
use_cache: ${{ github.event_name != 'workflow_dispatch' || inputs.use_cache }}
use_ccache: ${{ github.event.inputs.use_ccache == 'true' }}