-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathaction.yml
More file actions
30 lines (25 loc) · 725 Bytes
/
action.yml
File metadata and controls
30 lines (25 loc) · 725 Bytes
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
name: "Container build runner"
description: "Run build with container mode"
inputs:
spec_path:
description: "Path to buildspec yaml"
required: false
default: "buildspec.yaml"
runs:
using: "composite"
steps:
- name: Setup Docker
uses: docker/setup-docker-action@v4
- name: Setup Python 3
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install PyYAML and yq
shell: bash
run: |
# Install PyYAML
python3 -m pip install --upgrade pip && python3 -m pip install PyYAML
- name: Run build with container mode
shell: bash
run: |
"${{ github.action_path }}/src/build-runner.sh" "${{ inputs.spec_path }}"