Skip to content

Commit

Permalink
cleanup and optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
offensive-vk committed Feb 21, 2025
1 parent 5476341 commit 6dc7f6e
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 23 deletions.
Empty file added .github/template.md
Empty file.
35 changes: 18 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: CI / Bundle Icons

on:
push:
branches: ["master"]
tags: ['**']
branches: ["master"]
workflow_dispatch:

jobs:
bundle-svg-files:
runs-on: ${{ matrix.os }}
runs-on: macos-latest
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node: [18.x, 19.x, 20.x, 21.x, 22.x]
node: [18.x, 20.x, 22.x] # Only LTS versions

steps:
- name: Checkout Icons
uses: actions/checkout@v4
Expand All @@ -22,22 +23,22 @@ jobs:
node-version: ${{ matrix.node }}

- name: Create Directory
run: mkdir bundled_icons
run: mkdir -p bundled_icons

- name: Find and copy SVG files
run: |
ls -al
find . -name "*.svg" -exec cp {} bundle_icons/ \;
shell: bash
- name: Find and Copy SVG Files
run: find . -name "*.svg" -exec cp {} bundled_icons/ \;

- name: Verify SVG files
run: ls bundled_icons
- name: Verify Copied SVG Files
run: ls -al bundled_icons

- name: Upload bundled SVGs as artifact
- name: Generate Checksums
run: |
cd bundled_icons
md5 *.svg > checksum.md5
cat checksum.md5 # Print checksum for debugging
- name: Upload Bundled SVGs as Artifact
uses: actions/upload-artifact@v3
with:
name: bundled_icons
path: bundled_icons

- name: Cleanup
run: echo "Job Finished" | base64
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
org.opencontainers.image.title=Icons
org.opencontainers.image.vendor=Vedansh
org.opencontainers.image.multi-platform=true
org.opencontainers.image.description=Free SVG Icons for Every Tech Framework and Programming Languages.
org.opencontainers.image.source=https://github.com/offensive-vk/Icons
- name: Install Cosign
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: CI / Mirror Sync
on:
schedule:
- cron: '0 0 * * *'
push:
branches: ['**']
workflow_dispatch:
Expand All @@ -13,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wangchucheng/git-repo-sync@v0.1.0
- uses: offensive-vk/auto-repo-sync@master
with:
target-url: ${{ secrets.TARGET_URL }}
target-username: ${{ secrets.TARGET_USER }}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode/
node_modules
dist/
dist/
bundled_stuff
File renamed without changes.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ express Statement of Purpose.
this CC0 or use of the Work.

***
All Rights Reserved. Vedansh <offensive-vk> 2020 - Present.
All Rights Reserved. Vedansh (@offensive-vk) 2020 - Present.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@

Free SVGs and Icons For Most Programming Languages / Frameworks / Tools / Tech Related. All SVGs are in High Quality and are suitable for Every Size.

*Each icon comes in several versions like*
*Each icon comes in several versions like -*

- Original or Plain
- EPS & SVG Format
Expand Down
File renamed without changes.

0 comments on commit 6dc7f6e

Please sign in to comment.