Skip to content

Commit 54cfe13

Browse files
authored
Merge pull request #2488 from devicons/develop
Release v2.17.0
2 parents ca28c77 + 885bbbb commit 54cfe13

File tree

475 files changed

+14458
-13020
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

475 files changed

+14458
-13020
lines changed

.github/scripts/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
selenium==4.1.0
2-
requests==2.25.1
2+
requests==2.32.3

.github/workflows/build_icons.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ jobs:
55
name: Get Fonts From Icomoon
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v3
9-
- uses: actions/setup-python@v4
10-
with:
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-python@v5
10+
with:
1111
python-version: '3.10'
1212

1313
- name: Install dependencies (python, pip, npm)
@@ -21,26 +21,26 @@ jobs:
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323
run: >
24-
python ./.github/scripts/icomoon_build.py
25-
./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json
24+
python ./.github/scripts/icomoon_build.py
25+
./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json
2626
./devicon.json ./icons ./ $GITHUB_TOKEN --headless
2727
2828
- name: Upload geckodriver.log for debugging purposes
29-
uses: actions/upload-artifact@v2
29+
uses: actions/upload-artifact@v4
3030
if: failure()
3131
with:
3232
name: geckodriver-log
3333
path: ./geckodriver.log
3434

3535
- name: Upload log file for debugging purposes
36-
uses: actions/upload-artifact@v2
36+
uses: actions/upload-artifact@v4
3737
if: always()
3838
with:
3939
name: logfile
4040
path: ./log.txt
4141

4242
- name: Build devicon.min.css
43-
if: success()
43+
if: success()
4444
run: npm run build-css
4545

4646
# - name: Upload screenshot of the newly made icons
@@ -58,11 +58,11 @@ jobs:
5858
uses: juliangruber/[email protected]
5959
with:
6060
# taken from icomoon_build.py's get_release_message()
61-
path: ./release_message.txt
61+
path: ./release_message.txt
6262

6363
- name: Create Pull Request
64-
if: success()
65-
uses: peter-evans/create-pull-request@v3
64+
if: success()
65+
uses: peter-evans/create-pull-request@v7
6666
env:
6767
MESSAGE: |
6868
Hello,
@@ -81,14 +81,14 @@ jobs:
8181
8282
More information can be found in the GitHub Action logs for this workflow.
8383
84-
Adios,
84+
Adios,
8585
Build Bot :sunglasses:
8686
with:
8787
branch: 'bot/build-result'
8888
commit-message: 'Built new icons, icomoon.json and devicon.css'
8989
title: 'bot:build new icons, icomoon.json and devicon.css'
9090
body: >
91-
${{
91+
${{
9292
format(
9393
env.MESSAGE,
9494
steps.release_message_step.outputs.content

.github/workflows/check_icon_pr.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ jobs:
66
runs-on: ubuntu-latest
77
if: startsWith(github.event.pull_request.title, 'new icon') || startsWith(github.event.pull_request.title, 'update icon') # only checks icon PR
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010

1111
- name: Check if PR is develop
1212
if: ${{ github.base_ref != 'develop' }}
1313
run: |
1414
echo -e "The PR's base branch is \`${{ github.base_ref }}\`, but should be \`develop\`\nPlease change the PR so that it's based on, and merged into \`develop\`" > ./err_messages.txt
1515
echo "wrong_branch=true" >> $GITHUB_ENV
16-
17-
- uses: actions/setup-python@v4
16+
17+
- uses: actions/setup-python@v5
1818
if: ${{ !env.wrong_branch }}
19-
with:
19+
with:
2020
python-version: 3.8
2121

2222
- name: Install dependencies
@@ -32,7 +32,7 @@ jobs:
3232
run: python ./.github/scripts/check_icon_pr.py "$PR_TITLE" ./icons ./devicon.json
3333

3434
- name: Upload the err messages
35-
uses: actions/upload-artifact@v3
35+
uses: actions/upload-artifact@v4
3636
if: success()
3737
with:
3838
name: err_messages
@@ -46,7 +46,7 @@ jobs:
4646
run: echo $PR_NUM > pr_num.txt
4747

4848
- name: Upload the pr num
49-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
5050
if: success()
5151
with:
5252
name: pr_num

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
security-events: write
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Initialize CodeQL
2121
uses: github/codeql-action/init@v2
@@ -31,10 +31,10 @@ jobs:
3131
security-events: write
3232
steps:
3333
- name: Checkout repository
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535

3636
- name: Set up Python
37-
uses: actions/setup-python@v4
37+
uses: actions/setup-python@v5
3838
id: setup-python
3939
with:
4040
python-version: '3.10'
@@ -65,7 +65,7 @@ jobs:
6565
security-events: write
6666
steps:
6767
- name: Checkout repository
68-
uses: actions/checkout@v3
68+
uses: actions/checkout@v4
6969

7070
- name: Find Python files outside the .github folder
7171
id: find_files

.github/workflows/in_develop_labeler.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Label Issue In Develop
22
on:
33
workflow_run:
44
workflows: ['On Develop PR Merge']
5-
types:
5+
types:
66
- completed
77
jobs:
88
on-failure:
@@ -15,20 +15,20 @@ jobs:
1515
runs-on: ubuntu-latest
1616
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Setup Python v3.8
21-
uses: actions/setup-python@v4
22-
with:
21+
uses: actions/setup-python@v5
22+
with:
2323
python-version: 3.8
2424

25-
- name: Install dependencies
25+
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
2828
pip install -r ./.github/scripts/requirements.txt
29-
29+
3030
- name: Download workflow artifact
31-
uses: dawidd6/action-download-artifact@v2.11.0
31+
uses: dawidd6/action-download-artifact@v7
3232
with:
3333
github_token: ${{ secrets.GITHUB_TOKEN }}
3434
workflow: peek_icons.yml
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: On Develop PR Merge
2-
on:
2+
on:
33
pull_request:
44
types: [closed]
55
branches: [develop]
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: github.event.pull_request.merged == true
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313

1414
- name: Save the PR number in an artifact
1515
shell: bash
@@ -18,7 +18,7 @@ jobs:
1818
run: echo $PR_NUM > pr_num.txt
1919

2020
- name: Upload the PR number
21-
uses: actions/upload-artifact@v2.2.4
21+
uses: actions/upload-artifact@v4
2222
with:
2323
name: pr_num
2424
path: ./pr_num.txt

.github/workflows/npm_publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ jobs:
77
environment: release
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
with:
1212
# "ref" specifies the branch to check out.
1313
# "github.event.release.target_commitish" is a global variable and specifies the branch the release targeted
1414
ref: ${{ github.event.release.target_commitish }}
1515
- name: Use Node.js v16
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v4
1717
with:
18-
node-version: 16
18+
node-version: 24
1919
registry-url: https://registry.npmjs.org/ # Specifies the registry, this field is required!
2020
- run: npm ci
2121
- run: npm publish

.github/workflows/peek_icons.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Peek Icons
22
on:
33
pull_request:
4-
types: [labeled]
4+
types: [labeled]
55
jobs:
66
peek:
77
# four outcomes: successful check and upload,
@@ -11,14 +11,14 @@ jobs:
1111
if: github.event.label.name == 'bot:peek'
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: Setup Python v3.8
17-
uses: actions/setup-python@v4
18-
with:
17+
uses: actions/setup-python@v5
18+
with:
1919
python-version: 3.8
2020

21-
- name: Install dependencies
21+
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
2424
pip install -r ./.github/scripts/requirements.txt
@@ -30,7 +30,7 @@ jobs:
3030
run: echo $PR_NUM > pr_num.txt
3131

3232
- name: Upload the PR number
33-
uses: actions/upload-artifact@v2.2.4
33+
uses: actions/upload-artifact@v4
3434
with:
3535
name: pr_num
3636
path: ./pr_num.txt
@@ -40,26 +40,26 @@ jobs:
4040
PR_TITLE: ${{ github.event.pull_request.title }}
4141
shell: bash
4242
run: >
43-
python ./.github/scripts/icomoon_peek.py
44-
./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json
43+
python ./.github/scripts/icomoon_peek.py
44+
./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json
4545
./devicon.json ./icons ./ --headless "$PR_TITLE"
4646
4747
- name: Upload the err messages (created by icomoon_peek.py)
48-
uses: actions/upload-artifact@v2.2.4
48+
uses: actions/upload-artifact@v4
4949
if: always()
5050
with:
5151
name: err_messages
5252
path: ./err_messages.txt
5353

5454
- name: Upload screenshots for comments
55-
uses: actions/upload-artifact@v2.2.4
55+
uses: actions/upload-artifact@v4
5656
if: success()
5757
with:
5858
name: screenshots
5959
path: ./screenshots/*.png
6060

6161
- name: Upload geckodriver.log for debugging purposes
62-
uses: actions/upload-artifact@v2.2.4
62+
uses: actions/upload-artifact@v4
6363
if: failure()
6464
with:
6565
name: geckodriver-log

.github/workflows/post_check_icon_pr_comment.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ name: Post the result of the check_icon_pr workflow into its PR.
22
on:
33
workflow_run:
44
workflows: ['Check Icon PR']
5-
types:
5+
types:
66
- completed
7-
jobs:
7+
jobs:
88
post_result_of_svg_check:
99
name: Post the result of the Check SVG Action
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check if the trigger run worked. If it failed, fail the current run.
13-
if: github.event.workflow_run.conclusion != 'success'
13+
if: github.event.workflow_run.conclusion != 'success'
1414
uses: cutenode/[email protected]
1515

1616
- name: Download workflow artifact
17-
uses: dawidd6/action-download-artifact@v2.27.0
17+
uses: dawidd6/action-download-artifact@v7
1818
if: success()
1919
with:
2020
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -62,7 +62,7 @@ jobs:
6262

6363
- name: Comment on the PR about the result - Failure
6464
uses: jungwinter/[email protected] # let us comment on a specific PR
65-
if: failure()
65+
if: failure()
6666
env:
6767
MESSAGE: |
6868
Hi!

0 commit comments

Comments
 (0)