Skip to content

Commit

Permalink
UPDATE: repo fixes + emojisearch
Browse files Browse the repository at this point in the history
  • Loading branch information
fileformat committed Sep 11, 2024
1 parent 9a9cbff commit af9dbc5
Show file tree
Hide file tree
Showing 7 changed files with 76 additions and 31 deletions.
29 changes: 7 additions & 22 deletions .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ env:
PYTHONUNBUFFERED: true

jobs:
quality-icons:
quality:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
IDENTITY: [ emojisearch, iconsearch, logosearch, supertinyicons ]

steps:
- name: Checkout repo
Expand All @@ -28,25 +32,6 @@ jobs:
python -m pip install --upgrade pip
pip install sh unidecode pyaml
- name: Validate icons repos
run: ./bin/validate_repo.py --input=data/iconsearch.yaml
- name: Validate ${{ matrix.IDENTITY }} repos
run: ./bin/validate_repo.py --input=data/${{ matrix.IDENTITY }}.yaml

quality-logos:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@master

- name: Setup python
uses: actions/setup-python@v1
with:
python-version: 3.9

- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install sh unidecode pyaml
- name: Validate logos repos
run: ./bin/validate_repo.py --input=data/logosearch.yaml
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
IDENTITY: [ iconsearch, logosearch, supertinyicons ]
IDENTITY: [ emojisearch, iconsearch, logosearch, supertinyicons ]

steps:
- uses: actions/checkout@master
Expand All @@ -40,7 +40,7 @@ jobs:
run: ./bin/build-index.sh ${{ matrix.IDENTITY }} github

- name: Build index for gitlab repos
if: ${{ matrix.IDENTITY != 'supertinyicons' }}
if: ${{ matrix.IDENTITY != 'supertinyicons' && matrix.IDENTITY != 'emojisearch' }}
run: ./bin/build-index.sh ${{ matrix.IDENTITY }} gitlab

- name: Build download file
Expand Down
2 changes: 1 addition & 1 deletion bin/build-download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ BASE_DIR=$(realpath "${SCRIPT_HOME}/..")
IMGTYPE=${1:-BAD}
if [ "${IMGTYPE}" == "BAD" ]; then
echo "usage: build-download.sh IMGTYPE"
echo " imgtype is [ logos | icons ]"
echo " imgtype is [ emoji | icons | logos ]"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion bin/build-index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ IMGTYPE=${1:-BAD}
PROVIDER=${2:-BAD}
if [ "${PROVIDER}" == "BAD" ] || [ "${IMGTYPE}" == "BAD" ]; then
echo "usage: build-index.sh IMGTYPE PROVIDER"
echo " imgtype is [ logos | icons ]"
echo " imgtype is [ emoji | icons | logos ]"
echo " provider is [ github | gitlab ]"
exit 1
fi
Expand Down
60 changes: 60 additions & 0 deletions data/emojisearch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
- handle: emojitwo
provider: github
repo: EmojiTwo/emojitwo
branch: master
directory: svg
name: "Emoji Two"
website: "https://emojitwo.github.io/"

- handle: fluentui
provider: github
repo: microsoft/fluentui-emoji
branch: main
directory: assets
name: "Microsoft Fluent UI Emoji"
website: "https://fluentemoji.com/"

- handle: fxemoji
provider: github
repo: mozilla/fxemoji
branch: gh-pages
directory: svgs
name: "Mozilla FX Emoji"
website: "https://mozilla.github.io/fxemoji/"

#LATER: find source for noto bw
#- handle: noto-bw
# provider: github
# website: https://fonts.google.com/noto/specimen/Noto+Emoji

- handle: noto-color
provider: github
repo: googlefonts/noto-emoji
branch: main
directory: svg
name: "Noto Color Emoji"
website: "https://fonts.google.com/noto/specimen/Noto+Color+Emoji"

- handle: openmoji
provider: github
repo: hfg-gmuend/openmoji
branch: master
directory: color/svg
name: "OpenMoji"
website: "https://openmoji.org/"

- handle: sensa
provider: github
repo: AwesomeLogos/sensa-emoji
branch: main
directory: docs/images
name: "Sensa Emoji"
website: "https://sensa.co/emoji"

- handle: twemoji
provider: github
repo: twitter/twemoji
branch: gh-pages
directory: svg
name: "Twemoji"
website: "https://github.com/twitter/twemoji"
6 changes: 3 additions & 3 deletions data/iconsearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

- handle: astrit
repo: astrit/css.gg
branch: master
branch: main
directory: icons/svg
provider: github

Expand Down Expand Up @@ -148,9 +148,9 @@
- handle: cfpb
repo: cfpb/design-system
branch: main
directory: packages/cfpb-icons/src/icons
directory: packages/cfpb-design-system/src/components/cfpb-icons/icons
name: CFPB Design System
website: https://cfpb.github.io/design-system/
website: https://cfpb.github.io/design-system/foundation/iconography
provider: github

- handle: cjpatoilo
Expand Down
4 changes: 2 additions & 2 deletions data/logosearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -715,9 +715,9 @@

- provider: github
handle: tokenicons
repo: 0xa3k5/token-icons
repo: 0xa3k5/web3icons
branch: main
directory: packages/core/src/raw-svgs
directory: packages/core/src/svgs
website: https://tokenicons.io/

- provider: github
Expand Down

0 comments on commit af9dbc5

Please sign in to comment.