@@ -3,13 +3,13 @@ on: workflow_dispatch
33jobs :
44 build :
55 name : Get Fonts From Icomoon
6- runs-on : windows-2019
6+ runs-on : ubuntu-latest
77 steps :
8- - uses : actions/checkout@v2
8+ - uses : actions/checkout@v3
99
10- - uses : actions/setup-python@v2
10+ - uses : actions/setup-python@v4
1111 with :
12- python-version : 3.8
12+ python-version : ' 3.10 '
1313
1414 - name : Install dependencies (python, pip, npm)
1515 run : |
@@ -18,13 +18,13 @@ jobs:
1818 npm install
1919
2020 - name : Executing build and create fonts via icomoon
21- shell : cmd
21+ shell : bash
2222 env :
2323 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2424 run : >
2525 python ./.github/scripts/icomoon_build.py
26- ./.github/scripts/build_assets/geckodriver-v0.30.0-win64 /geckodriver.exe ./icomoon.json
27- ./devicon.json ./icons ./ % GITHUB_TOKEN% --headless
26+ ./.github/scripts/build_assets/geckodriver-v0.32.2-linux64 /geckodriver ./icomoon.json
27+ ./devicon.json ./icons ./ $ GITHUB_TOKEN --headless
2828
2929 - name : Upload geckodriver.log for debugging purposes
3030 uses : actions/upload-artifact@v2
@@ -44,15 +44,15 @@ jobs:
4444 if : success()
4545 run : npm run build-css
4646
47- - name : Upload screenshot of the newly made icons
48- id : imgur_step
49- 50- if : success()
51- with :
52- # will have "new_icons.png" and "new_svgs.png"
53- # in that order (cause sorted alphabetically)
54- path : ./screenshots/*.png
55- client_id : ${{secrets.IMGUR_CLIENT_ID}}
47+ # - name: Upload screenshot of the newly made icons
48+ # id: imgur_step
49+ # uses: devicons/[email protected] 50+ # if: success()
51+ # with:
52+ # # will have "new_icons.png" and "new_svgs.png"
53+ # # in that order (cause sorted alphabetically)
54+ # path: ./screenshots/*.png
55+ # client_id: ${{secrets.IMGUR_CLIENT_ID}}
5656
5757 - name : Get the release message from file
5858 id : release_message_step
@@ -70,22 +70,14 @@ jobs:
7070
7171 I'm Devicon's Build Bot and I just built some new font files and devicon.min.css file.
7272
73- Here are all the **SVGs** that were uploaded (the new ones are those with highlight):
74-
75- {0}
76-
77- Here is what they look like as icons:
78-
79- {1}
80-
8173 The devicon.min.css file contains:
8274 -The icon content
8375 -The aliases
8476 -The colored classes
8577
8678 I also compiled a list of new features and icons that were added since last release.
8779 ```
88- {2 }
80+ {0 }
8981 ```
9082
9183 More information can be found in the GitHub Action logs for this workflow.
10092 ${{
10193 format(
10294 env.MESSAGE,
103- fromJSON(steps.imgur_step.outputs.markdown_urls)[1],
104- fromJSON(steps.imgur_step.outputs.markdown_urls)[0],
10595 steps.release_message_step.outputs.content
10696 )
10797 }}
0 commit comments