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

Commit

Permalink
Merge pull request #37 from localheinz/fix/workflow
Browse files Browse the repository at this point in the history
Fix: Workflow configuration and example
  • Loading branch information
localheinz authored Aug 22, 2019
2 parents 4c1f9e6 + 2ed300b commit 69c0607
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

For a full diff see [`0.4.1...master`](https://github.com/localheinz/composer-normalize-action/compare/0.4.1...master).
For a full diff see [`0.4.2...master`](https://github.com/localheinz/composer-normalize-action/compare/0.4.2...master).

## [`0.4.2`](https://github.com/localheinz/composer-normalize-action/releases/tag/0.4.2)

For a full diff see [`0.4.1...0.4.2`](https://github.com/localheinz/composer-normalize-action/compare/0.4.1...0.4.2).

### Fixed

* Workflow configuration and example ([#37](https://github.com/localheinz/composer-normalize-action/pull/37)), by [@localheinz](https://github.com/localheinz)

## [`0.4.1`](https://github.com/localheinz/composer-normalize-action/releases/tag/0.4.1)

For a full diff see [`0.4.0...0.4.1`](https://github.com/localheinz/composer-normalize-action/compare/0.4.0...0.4.1).

### Fixed

* Use environment variable `COMPOSER_NORMALIZE_VERSION` directly instead of input parameter `composer-normalize-version` and require corresponding version of `localheinz/composer-normalize` in `entrypoint.sh` ([#35](https://github.com/localheinz/composer-normalize-action/pull/35)), by [@localheinz](https://github.com/localheinz)
* Use environment variable `COMPOSER_NORMALIZE_VERSION` directly instead of input parameter `composer-normalize-version` and require corresponding version of `localheinz/composer-normalize` in `entrypoint.sh` ([#36](https://github.com/localheinz/composer-normalize-action/pull/36)), by [@localheinz](https://github.com/localheinz)

For a full diff see [`0.4.0...master`](https://github.com/localheinz/composer-normalize-action/compare/0.4.0...master).

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run localheinz/composer-normalize
uses: docker://localheinz/composer-normalize-action
- name: composer-normalize-action
uses: localheinz/composer-normalize-action
```
You can also use a specific tag, for example, `x.y.z` (otherwise, `latest` will be used).
Expand All @@ -40,8 +40,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run localheinz/composer-normalize
uses: docker://localheinz/composer-normalize-action:x.y.z
- name: composer-normalize-action
uses: localheinz/composer-normalize-action@0.4.1
```

### Environment Variables
Expand All @@ -59,8 +59,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run localheinz/composer-normalize
uses: docker://localheinz/composer-normalize-action
- name: composer-normalize-action
uses: localheinz/composer-normalize-action
env:
COMPOSER_NORMALIZE_VERSION: '^1.3.0'
```
Expand Down
8 changes: 0 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ description: 'Ensure your PHP project has a normalized composer.json.'

author: 'localheinz'

inputs:
composer-normalize-version:
description: 'The version of localheinz/composer-normalize you wish to use.'
required: false
default: '1.3.0'

runs:
using: 'docker'
image: 'docker://localheinz/composer-normalize-action'
env:
- COMPOSER_NORMALIZE_VERSION: '${{ inputs.composer-normalize-version }}'

0 comments on commit 69c0607

Please sign in to comment.