File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Based on https://github.com/ml-tooling/universal-build/blob/v0.6.6/workflows/build-pipeline.yml
1
2
name : build-pipeline
2
3
3
4
on :
9
10
working_directory :
10
11
description : " Working directory from where the build command is run"
11
12
required : false
13
+ # Do not auto-build on commit: push:
12
14
13
15
env :
14
16
BUILD_ARGS : ${{ secrets.BUILD_ARGS }}
27
29
if : ${{ github.event.inputs != null && github.event.inputs.working_directory != null}}
28
30
run : echo "::set-env name=WORKING_DIRECTORY::${{ github.event.inputs.working_directory }}"
29
31
# new syntax: run: echo "WORKING_DIRECTORY=${{ github.event.inputs.working_directory }}" >> "$GITHUB_ENV"
30
- - uses : actions/checkout@v2
32
+ # Set host ip to env variable to be uside within container actions
31
33
- name : set-host-ip
32
34
run : echo "::set-env name=_HOST_IP::$(hostname -I | cut -d ' ' -f 1)"
35
+ - uses : actions/checkout@v2
33
36
- name : run-build-scripts
34
37
uses : ./.github/actions/build-environment
35
38
with :
Original file line number Diff line number Diff line change
1
+ # Based on https://github.com/ml-tooling/universal-build/blob/v0.6.6/workflows/build-pipeline.yml
1
2
name : release-pipeline
2
3
3
4
on :
4
5
workflow_dispatch :
5
6
inputs :
6
7
version :
7
- description : " Version of this release. "
8
+ description : " Version of this release"
8
9
required : true
9
10
milestone :
10
11
types : [closed]
You can’t perform that action at this time.
0 commit comments