Skip to content

Commit

Permalink
deleted check for gh_token
Browse files Browse the repository at this point in the history
  • Loading branch information
mrFavoslav committed Dec 31, 2024
1 parent 159338e commit 446bdb7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Check Token Response Status
run: |
status=$(curl -o /dev/null -s -w "%{http_code}" -H "Authorization: token ${{ secrets.GH_TOKEN }}" \
https://api.github.com/user)
if [ "$status" -eq 200 ]; then
echo "Token is valid and has access."
else
echo "Token is invalid or lacks the necessary permissions. HTTP Status: $status"
fi
- name: Setup MSBuild
uses: microsoft/[email protected]

Expand Down

0 comments on commit 446bdb7

Please sign in to comment.