This repository has been archived by the owner on Aug 10, 2024. It is now read-only.
Check API Key #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |