mirror of
https://github.com/konpa/devicon.git
synced 2025-08-17 12:00:56 +02:00
remove wrong change
This commit is contained in:
51
.github/workflows/build_icons.yml
vendored
51
.github/workflows/build_icons.yml
vendored
@@ -4,12 +4,11 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: Get Fonts From Icomoon
|
name: Get Fonts From Icomoon
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: 3.8
|
||||||
|
|
||||||
- name: Install dependencies (python, pip, npm)
|
- name: Install dependencies (python, pip, npm)
|
||||||
run: |
|
run: |
|
||||||
@@ -21,8 +20,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: >
|
run: >
|
||||||
python ./.github/scripts/icomoon_build.py
|
python ./.github/scripts/icomoon_build.py
|
||||||
./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json
|
./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json
|
||||||
./devicon.json ./icons ./ "$GITHUB_TOKEN" --headless
|
./devicon.json ./icons ./ "$GITHUB_TOKEN" --headless
|
||||||
|
|
||||||
- name: Upload geckodriver.log for debugging purposes
|
- name: Upload geckodriver.log for debugging purposes
|
||||||
@@ -40,28 +39,28 @@ jobs:
|
|||||||
path: ./log.txt
|
path: ./log.txt
|
||||||
|
|
||||||
- name: Build devicon.min.css
|
- name: Build devicon.min.css
|
||||||
if: success()
|
if: success()
|
||||||
run: npm run build-css
|
run: npm run build-css
|
||||||
|
|
||||||
# - name: Upload screenshot of the newly made icons
|
- name: Upload screenshot of the newly made icons
|
||||||
# id: imgur_step
|
id: imgur_step
|
||||||
# uses: devicons/public-upload-to-imgur@v2.2.2
|
uses: devicons/public-upload-to-imgur@v2.2.2
|
||||||
# if: success()
|
if: success()
|
||||||
# with:
|
with:
|
||||||
# # will have "new_icons.png" and "new_svgs.png"
|
# will have "new_icons.png" and "new_svgs.png"
|
||||||
# # in that order (cause sorted alphabetically)
|
# in that order (cause sorted alphabetically)
|
||||||
# path: ./screenshots/*.png
|
path: ./screenshots/*.png
|
||||||
# client_id: ${{secrets.IMGUR_CLIENT_ID}}
|
client_id: ${{secrets.IMGUR_CLIENT_ID}}
|
||||||
|
|
||||||
- name: Get the release message from file
|
- name: Get the release message from file
|
||||||
id: release_message_step
|
id: release_message_step
|
||||||
uses: juliangruber/read-file-action@v1.0.0
|
uses: juliangruber/read-file-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
# taken from icomoon_build.py's get_release_message()
|
# taken from icomoon_build.py's get_release_message()
|
||||||
path: ./release_message.txt
|
path: ./release_message.txt
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
if: success()
|
if: success()
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v3
|
||||||
env:
|
env:
|
||||||
MESSAGE: |
|
MESSAGE: |
|
||||||
@@ -69,6 +68,14 @@ jobs:
|
|||||||
|
|
||||||
I'm Devicon's Build Bot and I just built some new font files and devicon.min.css file.
|
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 devicon.min.css file contains:
|
||||||
-The icon content
|
-The icon content
|
||||||
-The aliases
|
-The aliases
|
||||||
@@ -76,22 +83,24 @@ jobs:
|
|||||||
|
|
||||||
I also compiled a list of new features and icons that were added since last release.
|
I also compiled a list of new features and icons that were added since last release.
|
||||||
```
|
```
|
||||||
{0}
|
{2}
|
||||||
```
|
```
|
||||||
|
|
||||||
More information can be found in the GitHub Action logs for this workflow.
|
More information can be found in the GitHub Action logs for this workflow.
|
||||||
|
|
||||||
Adios,
|
Adios,
|
||||||
Build Bot :sunglasses:
|
Build Bot :sunglasses:
|
||||||
with:
|
with:
|
||||||
branch: 'bot/build-result'
|
branch: 'bot/build-result'
|
||||||
commit-message: 'Built new icons, icomoon.json and devicon.css'
|
commit-message: 'Built new icons, icomoon.json and devicon.css'
|
||||||
title: 'bot:build new icons, icomoon.json and devicon.css'
|
title: 'bot:build new icons, icomoon.json and devicon.css'
|
||||||
body: >
|
body: >
|
||||||
${{
|
${{
|
||||||
format(
|
format(
|
||||||
env.MESSAGE,
|
env.MESSAGE,
|
||||||
|
fromJSON(steps.imgur_step.outputs.markdown_urls)[1],
|
||||||
|
fromJSON(steps.imgur_step.outputs.markdown_urls)[0],
|
||||||
steps.release_message_step.outputs.content
|
steps.release_message_step.outputs.content
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
delete-branch: true
|
delete-branch: true
|
Reference in New Issue
Block a user