Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Check API Key

Check API Key #3

Workflow file for this run

name: Check API Key
on:
workflow_dispatch:
jobs:
check-api-key:
runs-on: ubuntu-latest
steps:
- name: Check API Key Length
run: |
if [ -z "${{ secrets.CURSEFORGE_API_KEY }}" ]; then
echo "CURSEFORGE_API_KEY is not set."
else
API_KEY="${{ secrets.CURSEFORGE_API_KEY }}"
echo "Length of CURSEFORGE_API_KEY: ${#API_KEY}"
fi