Skip to content

Commit bae8b16

Browse files
authored
Fix deprication action (#23)
1 parent dc1e021 commit bae8b16

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ inputs:
2121
outputs:
2222
labels_env:
2323
description: "JSON formatted {label}: {environment} map"
24-
value: ${{ steps.yaml2json.outputs.data }}
24+
value: ${{ steps.yaml2json.outputs.output }}
2525
deploy_envs:
2626
description: "Environments that need to be deployed"
2727
value: ${{ steps.deploy_envs.outputs.output }}
@@ -37,10 +37,10 @@ runs:
3737
file: 'labels_env.yaml'
3838
content: ${{ inputs.env-label }}
3939

40-
- uses: fabasoad/yaml-json-xml-converter-action@main
40+
- uses: fabasoad/data-format-converter-action@v0.2.1
4141
id: yaml2json
4242
with:
43-
path: 'labels_env.yaml'
43+
input: 'labels_env.yaml'
4444
from: 'yaml'
4545
to: 'json'
4646

@@ -62,18 +62,18 @@ runs:
6262
version: 1.6
6363
force: 'true'
6464

65-
- uses: edwardgeorge/jq-action@main
65+
- uses: cloudposse/github-action-jq@0.4.0
6666
id: deploy_envs
6767
with:
6868
compact: true
69-
input: ${{ steps.yaml2json.outputs.data }}
69+
input: ${{ steps.yaml2json.outputs.output }}
7070
script: ${{ format(steps.pattern.outputs.deploy, inputs.labels) }}
7171

72-
- uses: edwardgeorge/jq-action@main
72+
- uses: cloudposse/github-action-jq@0.4.0
7373
id: destroy_envs
7474
with:
7575
compact: true
76-
input: ${{ steps.yaml2json.outputs.data }}
76+
input: ${{ steps.yaml2json.outputs.output }}
7777
script: ${{ format(steps.pattern.outputs.destroy, inputs.labels) }}
7878

7979

0 commit comments

Comments
 (0)