Skip to content

Merge pull request #1206 from Ana06/rpyc #173

Merge pull request #1206 from Ana06/rpyc

Merge pull request #1206 from Ana06/rpyc #173

Workflow file for this run

name: Update packages badge
on:
push:
branches: [ main ]
jobs:
update_badge:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- 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/dynamic-badges-action@e9a478b16159b4d31420099ba146cdc50f134483 # v1.7.0
with:
auth: ${{ secrets.REPO_TOKEN }}
gistID: 0e28118f551692f3401ac669e1d6761d
filename: packages_badge.svg
label: packages
message: ${{ env.num_packages }}
color: blue