From 2ed300b3c4c5f42737087e432a4041c59ef32280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Fri, 23 Aug 2019 00:19:19 +0200 Subject: [PATCH] Fix: Workflow configuration and example --- CHANGELOG.md | 12 ++++++++++-- README.md | 12 ++++++------ action.yml | 8 -------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af11252..319e9a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,15 @@ 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) @@ -14,7 +22,7 @@ For a full diff see [`0.4.0...0.4.1`](https://github.com/localheinz/composer-nor ### 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). diff --git a/README.md b/README.md index 49d9685..07559ce 100644 --- a/README.md +++ b/README.md @@ -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). @@ -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 @@ -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' ``` diff --git a/action.yml b/action.yml index 24caf95..48a005d 100644 --- a/action.yml +++ b/action.yml @@ -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 }}'