Skip to content

Commit 5f8e429

Browse files
Merge pull request #6 from devwithkrishna/feature/converting-to-action
fix composite action
2 parents da7c50d + 3442950 commit 5f8e429

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

action.yaml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,27 @@ description: 'A GitHub Action that decommisions resource groups tagged with Temp
33
author: 'githubofkrishnadhas'
44
# reference https://haya14busa.github.io/github-action-brandings/
55
branding:
6-
icon: 'cloud-lightning'
7-
color: 'green'
6+
icon: 'cloud-lightning'
7+
color: 'green'
88
inputs:
99
subscription_name:
1010
required: true
11-
type: string
1211
default: ""
1312
description: "The azure subscription name."
1413
runs:
15-
defaults:
16-
run:
17-
shell: bash
1814
using: 'composite'
1915
steps:
20-
- name: Install Python
21-
uses: actions/setup-python@v5
22-
with:
23-
python-version: '3.11'
24-
- name: package installations
25-
run: |
26-
pip install poetry
27-
poetry install -v --no-root --no-interaction
28-
- name: Run Python program
29-
run: |
30-
poetry run python3 terraforminator.py --subscription_name ${{ inputs.subscription_name }}
16+
- name: Install Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.11'
20+
21+
- name: package installations
22+
shell: bash
23+
run: |
24+
pip install poetry
25+
poetry install -v --no-root --no-interaction
26+
- name: Run Python program
27+
shell: bash
28+
run: |
29+
poetry run python3 terraforminator.py --subscription_name ${{ inputs.subscription_name }}

0 commit comments

Comments
 (0)