File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,10 +29,6 @@ inputs:
2929runs :
3030 using : ' composite'
3131 steps :
32- - name : Set start time
33- id : start
34- run : echo "timestamp=$EPOCHSECONDS" >> $GITHUB_OUTPUT
35- shell : bash
3632 - name : Create GitStream folder
3733 id : create-gitstream-folder
3834 shell : bash
@@ -110,17 +106,12 @@ runs:
110106 id : gitstream-action
111107 if : always()
112108 run : |
113- SECONDS=0
114109 env_file=env.user
115110 touch $env_file
116111 for var in $(env | cut -d "=" -f 1); do
117112 value="${!var}"
118113 echo "$var=$value" >> "$env_file"
119114 done
120115 docker pull gitstream/rules-engine:latest
121- echo "docker-pull-duration=$SECONDS" >> $GITHUB_OUTPUT
122- SECONDS=0
123116 docker run --env-file $env_file -v $(pwd)/gitstream:/code -e USE_CACHE=${{ steps.cache-gitstream-results.outputs.cache-hit }} -e HEAD_REF=$'upstream/${{ steps.safe-strings.outputs.head_ref }}' -e BASE_REF=$'${{ steps.safe-strings.outputs.base_ref }}' -e CLIENT_PAYLOAD=${{ steps.safe-strings.outputs.client_payload }} -e RULES_RESOLVER_URL=${{ github.event.inputs.resolver_url }} -e RULES_RESOLVER_TOKEN=${{ github.event.inputs.resolver_token }} -e DEBUG_MODE=${{ github.event.inputs.debug_mode }} gitstream/rules-engine
124- echo "docker-run-duration=$SECONDS" >> $GITHUB_OUTPUT
125- echo "action-run-duration=$(($EPOCHSECONDS - ${{ steps.start.outputs.timestamp }}))" >> $GITHUB_OUTPUT
126117 shell : bash
You can’t perform that action at this time.
0 commit comments