Skip to content
This repository has been archived by the owner on Mar 6, 2021. It is now read-only.

Fix: Avoid use of GITHUB_WORKSPACE environment variable #48

Merged
merged 1 commit into from
Sep 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This action runs [`localheinz/composer-normalize`](https://github.com/localheinz

## Usage

Define a workflow in `.github/workflows/ci.yml` (or add a job if you already have defined workflows).
Define a workflow in `.github/workflows/ci.yml` (or add a job if you already have defined workflows).

:bulb: Read more about [Configuring a workflow](https://help.github.com/en/articles/configuring-a-workflow).

Expand All @@ -21,7 +21,7 @@ By default this action will run
$ composer normalize --dry-run
```

in the working directory.
in the working directory.

When you use this action in a step with the default behaviour, the step will fail when `composer.json`

Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Run composer normalize
uses: docker://localheinz/composer-normalize-action:latest
with:
args: ${GITHUB_WORKSPACE}/sub-directory/composer.json --dry-run
args: ./sub-directory/composer.json --dry-run
```

### Docker image
Expand Down