Skip to content

Merge pull request #905 from Ana06/failed_new_package_CI #8

Merge pull request #905 from Ana06/failed_new_package_CI

Merge pull request #905 from Ana06/failed_new_package_CI #8

Workflow file for this run

name: Updates packages number badge on README
on:
push:
branches: [ main ]
jobs:
update_badge:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Count packages
run: |
# Counts all packages in /packages including installer.vm
num_packages=$(ls packages | wc -l)
echo "num_packages=$num_packages" >> $GITHUB_ENV
- name: Update dynamic badge gist
uses: schneegans/[email protected]
with:
auth: ${{ secrets.REPO_TOKEN }}
gistID: 0e28118f551692f3401ac669e1d6761d
filename: packages_badge.svg
label: packages
message: ${{ env.num_packages }}
color: blue