Skip to content

Commit

Permalink
Revert "Linbee 6728 add option to run GitHub action with cache (#62)" (
Browse files Browse the repository at this point in the history
…#63)

This reverts commit e79b8b1.
  • Loading branch information
ShakedZrihen authored Apr 10, 2024
1 parent e79b8b1 commit d64f157
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ inputs:
debug_mode:
description: "Run parser in debug mode"
required: false
default: "false"
pull_docker_from_cache:
description: "If should store gitstream docker in GitHub cache"
required: false
default: "false"
default: false
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -104,17 +100,6 @@ runs:
ref: ${{ fromJSON(fromJSON(github.event.inputs.client_payload)).cmRepoRef }}
path: "gitstream/cm/"

- name: Docker Layer Caching
if: ${{ inputs.pull_docker_from_cache == 'true' }}
uses: satackey/[email protected]
continue-on-error: true
with:
concurrency: 12

- name: Pull gitstream Docker
shell: bash
run: docker pull gitstream/rules-engine:latest

- name: Run The Action
if: always()
run: |
Expand All @@ -124,6 +109,7 @@ runs:
value="${!var}"
echo "$var=$value" >> "$env_file"
done
docker pull gitstream/rules-engine:latest
docker run --env-file $env_file \
-v $(pwd)/gitstream:/code \
-e HEAD_REF=$'upstream/${{ steps.safe-strings.outputs.head_ref }}' \
Expand Down

0 comments on commit d64f157

Please sign in to comment.