runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: gh login
run: echo "${{ secrets.SECRET_TOKEN }}" | gh auth login --with-token
echo $gist_id | gh secret set GIST_ID
echo "GIST=${gist_id}" >> $GITHUB_OUTPUT
cp clone.json clone_before.json
- git rm --ignore-unmatch CLONE.md
+ git rm --ignore-unmatch CLONE.md
fi
else
echo "GIST_ID not found. Creating a gist..."