mirror of
https://github.com/konpa/devicon.git
synced 2025-09-01 10:25:11 +02:00
Revert "Revert "Fix a couple issues found in the build script""
This commit is contained in:
9
.github/workflows/build_icons.yml
vendored
9
.github/workflows/build_icons.yml
vendored
@@ -18,11 +18,8 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r ./.github/scripts/requirements.txt
|
||||
npm install
|
||||
- name: Run icomoon_upload.py
|
||||
run: >
|
||||
python ./.github/scripts/icomoon_upload.py
|
||||
./.github/scripts/build_assets/geckodriver-v0.27.0-win64/geckodriver.exe
|
||||
./icomoon.json ./devicon.json ./icons ./ --headless
|
||||
- name: Executing build and create fonts via icomoon
|
||||
run: npm run build
|
||||
- name: Upload geckodriver.log for debugging purposes
|
||||
uses: actions/upload-artifact@v2
|
||||
if: ${{failure()}}
|
||||
@@ -35,7 +32,7 @@ jobs:
|
||||
with:
|
||||
name: new_icons
|
||||
path: ./new_icons.png
|
||||
- name: Running npm task for building devicon.min.css
|
||||
- name: Build devicon.min.css
|
||||
if: ${{ success() }}
|
||||
run: npm run build-css
|
||||
- name: Create Pull Request
|
||||
|
8
.github/workflows/peek_icons.yml
vendored
8
.github/workflows/peek_icons.yml
vendored
@@ -16,16 +16,12 @@ jobs:
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install dependencies (python, pip, npm)
|
||||
- name: Install dependencies (python, pip)
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r ./.github/scripts/requirements.txt
|
||||
npm install
|
||||
- name: Run icomoon_peek.py
|
||||
run: >
|
||||
python ./.github/scripts/icomoon_peek.py
|
||||
./.github/scripts/build_assets/geckodriver-v0.27.0-win64/geckodriver.exe
|
||||
./icomoon.json ./devicon.json ./icons ./ --headless
|
||||
run: npm run peek
|
||||
- name: Upload geckodriver.log for debugging purposes
|
||||
uses: actions/upload-artifact@v2
|
||||
if: ${{failure()}}
|
||||
|
Reference in New Issue
Block a user