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
12name : build-pipeline
23
34on :
910 working_directory :
1011 description : " Working directory from where the build command is run"
1112 required : false
13+ # Do not auto-build on commit: push:
1214
1315env :
1416 BUILD_ARGS : ${{ secrets.BUILD_ARGS }}
2729 if : ${{ github.event.inputs != null && github.event.inputs.working_directory != null}}
2830 run : echo "::set-env name=WORKING_DIRECTORY::${{ github.event.inputs.working_directory }}"
2931 # 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
3133 - name : set-host-ip
3234 run : echo "::set-env name=_HOST_IP::$(hostname -I | cut -d ' ' -f 1)"
35+ - uses : actions/checkout@v2
3336 - name : run-build-scripts
3437 uses : ./.github/actions/build-environment
3538 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
12name : release-pipeline
23
34on :
45 workflow_dispatch :
56 inputs :
67 version :
7- description : " Version of this release. "
8+ description : " Version of this release"
89 required : true
910 milestone :
1011 types : [closed]
You can’t perform that action at this time.
0 commit comments