Skip to content

Commit 04f4661

Browse files
Update step.yaml
1 parent 3c30fe5 commit 04f4661

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

incubating/github-action-executor/step.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '1.0'
22
kind: step-type
33
metadata:
4-
version: 0.1.5
4+
version: 0.1.6
55
name: github-action-executor
66
description: Execute github action
77
maintainers:
@@ -87,15 +87,13 @@ spec:
8787
[[ if .Arguments.debug ]]- LOG_LEVEL=debug[[ end ]]
8888
commands:
8989
- /app/interface/cli/index.js export-variables
90-
9190
[[ if .Arguments.debug ]]
9291
envs:
9392
image: alpine
9493
title: envs
9594
commands:
9695
- printenv
9796
[[ end ]]
98-
9997
prepare:
10098
type: github-action
10199
title: Github Action
@@ -105,7 +103,6 @@ spec:
105103
docker_repo: ${{GA_DOCKER_REPO}}
106104
registry: ${{GA_DOCKER_REGISTRY}}
107105
disable_cache: ${{GA_DISABLE_CACHE}}
108-
109106
step_name:
110107
image: ${{GA_DOCKER_REPO}}
111108
volumes:
@@ -114,13 +111,6 @@ spec:
114111
[[ if .Arguments.cmd ]]
115112
cmd: [[ .Arguments.cmd ]]
116113
[[ end ]]
117-
environment:
118-
- GITHUB_WORKFLOW=${{CF_PIPELINE_NAME}}
119-
- GITHUB_ACTOR=${{CF_COMMIT_AUTHOR}}
120-
- GITHUB_REPOSITORY=${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}
121-
- HOME=${{CF_VOLUME_PATH}}
122-
- GITHUB_WORKSPACE=/github/workspace/${{CF_REPO_NAME}}
123-
- GITHUB_EVENT_PATH=/codefresh/volume/event.json
124114
delimiters:
125115
left: '[['
126116
right: ']]'

0 commit comments

Comments
 (0)