7 Commits

Author SHA1 Message Date
Simon Schneegans
5d424ad406 📝 Update tags in examples 2022-10-13 20:10:32 +02:00
Simon Schneegans
fcf5e8e35f 📝 Add changelog entry 2022-10-13 20:10:02 +02:00
Simon Schneegans
ecdb0478a8 🔀 Merge pull request #21 from Schneegans/feature/node-16 2022-10-13 20:06:07 +02:00
Simon Schneegans
e88b2ac0cd 🔧 Revert test 2022-10-13 20:04:51 +02:00
Simon Schneegans
457e3c5b74 🔧 Test new version 2022-10-13 20:03:30 +02:00
Simon Schneegans
c125fff2e3 🔧 Use newer node version 2022-10-13 20:02:00 +02:00
Simon Schneegans
9eb9ef9448 📝 Add missing caption to changelog 2022-10-09 07:13:01 +02:00
3 changed files with 14 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/schneegan
4. Add something like the following to your workflow: 4. Add something like the following to your workflow:
```yml ```yml
- name: Create Awesome Badge - name: Create Awesome Badge
uses: schneegans/dynamic-badges-action@v1.5.0 uses: schneegans/dynamic-badges-action@v1.6.0
with: with:
auth: ${{ secrets.GIST_SECRET }} auth: ${{ secrets.GIST_SECRET }}
gistID: <gist-ID> gistID: <gist-ID>
@@ -134,7 +134,7 @@ For all values in between, the color will be interpolated.
- name: Get the Numbers - name: Get the Numbers
run: echo "ANSWER=42" >> $GITHUB_ENV run: echo "ANSWER=42" >> $GITHUB_ENV
- name: Create the Badge - name: Create the Badge
uses: schneegans/dynamic-badges-action@v1.5.0 uses: schneegans/dynamic-badges-action@v1.6.0
with: with:
auth: ${{ secrets.GIST_SECRET }} auth: ${{ secrets.GIST_SECRET }}
gistID: <gist-ID> gistID: <gist-ID>

View File

@@ -72,5 +72,5 @@ inputs:
description: 'Lightness used by the color range feature. Defaults to 40.' description: 'Lightness used by the color range feature. Defaults to 40.'
required: false required: false
runs: runs:
using: 'node12' using: 'node16'
main: 'index.js' main: 'index.js'

View File

@@ -1,9 +1,20 @@
# Changelog of the Dynamic Badges Action # Changelog of the Dynamic Badges Action
## [Dynamic Badges Action 1.6.0](https://github.com/Schneegans/dynamic-badges-action/tree/v1.6.0)
**Release Date:** 2022-10-13
#### Changes
* The action now runs on Node 16 instead of the deprecated Node 12.
## [Dynamic Badges Action 1.5.0](https://github.com/Schneegans/dynamic-badges-action/tree/v1.5.0) ## [Dynamic Badges Action 1.5.0](https://github.com/Schneegans/dynamic-badges-action/tree/v1.5.0)
**Release Date:** 2022-10-09 **Release Date:** 2022-10-09
#### Changes
* The gist is now not updated anymore if the content did not change. This prevents many gist revisions without actual changes. You can restore the original behavior by setting the optional `forceUpdate` parameter to `true`. A BIG thanks to [@MishaKav](https://github.com/MishaKav) for this contribution! * The gist is now not updated anymore if the content did not change. This prevents many gist revisions without actual changes. You can restore the original behavior by setting the optional `forceUpdate` parameter to `true`. A BIG thanks to [@MishaKav](https://github.com/MishaKav) for this contribution!
* Example color range badges have been added to the README. * Example color range badges have been added to the README.
* All node dependencies have been updated. * All node dependencies have been updated.