Skip to content

Update Icon Collection (Bot) #127

Update Icon Collection (Bot)

Update Icon Collection (Bot) #127

Workflow file for this run

name: Update Icon Collection (Bot)
on:
schedule:
- cron: "0 4 * * 0"
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Setup Nushell
run: |
curl -fsSL https://apt.fury.io/nushell/gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/fury-nushell.gpg
echo "deb https://apt.fury.io/nushell/ /" | sudo tee /etc/apt/sources.list.d/fury.list
sudo apt update
sudo apt install nushell
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Release
run: nu .github/update-icons.nu
env:
REPO_NAME: ${{ github.event.repository.full_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}