1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-18 12:21:36 +02:00

Merge branch 'update-icon-npm' of https://github.com/m00nbyte/devicon into update-icon-npm

This commit is contained in:
m00nbyte
2023-12-17 20:51:06 +01:00

View File

@@ -4,11 +4,12 @@ jobs:
build:
name: Get Fonts From Icomoon
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
- name: Install dependencies (python, pip, npm)
run: |
@@ -42,15 +43,15 @@ jobs:
if: success()
run: npm run build-css
- name: Upload screenshot of the newly made icons
id: imgur_step
uses: devicons/public-upload-to-imgur@v2.2.2
if: success()
with:
# will have "new_icons.png" and "new_svgs.png"
# in that order (cause sorted alphabetically)
path: ./screenshots/*.png
client_id: ${{secrets.IMGUR_CLIENT_ID}}
# - name: Upload screenshot of the newly made icons
# id: imgur_step
# uses: devicons/public-upload-to-imgur@v2.2.2
# if: success()
# with:
# # will have "new_icons.png" and "new_svgs.png"
# # in that order (cause sorted alphabetically)
# path: ./screenshots/*.png
# client_id: ${{secrets.IMGUR_CLIENT_ID}}
- name: Get the release message from file
id: release_message_step
@@ -68,14 +69,6 @@ jobs:
I'm Devicon's Build Bot and I just built some new font files and devicon.min.css file.
Here are all the **SVGs** that were uploaded (the new ones are those with highlight):
{0}
Here is what they look like as icons:
{1}
The devicon.min.css file contains:
-The icon content
-The aliases
@@ -83,7 +76,7 @@ jobs:
I also compiled a list of new features and icons that were added since last release.
```
{2}
{0}
```
More information can be found in the GitHub Action logs for this workflow.
@@ -98,8 +91,6 @@ jobs:
${{
format(
env.MESSAGE,
fromJSON(steps.imgur_step.outputs.markdown_urls)[1],
fromJSON(steps.imgur_step.outputs.markdown_urls)[0],
steps.release_message_step.outputs.content
)
}}