Skip to content

Commit

Permalink
Fix the variable in the code-check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andergmartins committed Jan 5, 2024
1 parent f0b9692 commit 072ab70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: Check the code
runs-on: ubuntu-latest
env:
DOCKER_IMAGE=publishpress/dev-workspace-terminal:future-free-2
DOCKER_IMAGE: publishpress/dev-workspace-terminal:future-free-2

steps:
- name: Setup tmate session for Debugging, if inputs.debug_enabled_code_check is true
Expand All @@ -47,8 +47,8 @@ jobs:
- if: steps.image-cache.outputs.cache-hit != 'true'
name: Pull Docker image
run: |
docker pull DOCKER_IMAGE
docker save -o ~/image-cache/terminal.tar DOCKER_IMAGE
docker pull $DOCKER_IMAGE
docker save -o ~/image-cache/terminal.tar $DOCKER_IMAGE
- if: steps.image-cache.outputs.cache-hit == 'true'
name: Load Docker image from cache
Expand All @@ -59,5 +59,5 @@ jobs:
docker run --rm -it \
-v ${{ github.workspace }}:/project \
--workdir="/project" \
DOCKER_IMAGE \
$DOCKER_IMAGE \
bash -c "composer validate && composer install --no-interaction --no-progress --prefer-dist --ignore-platform-reqs && composer check"

0 comments on commit 072ab70

Please sign in to comment.