Skip to content

Commit 04f7836

Browse files
authored
Update Sophia.yml
1 parent 0a69342 commit 04f7836

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/Sophia.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,14 @@ jobs:
5151
id: read_release
5252
run: |
5353
# Get a penultimate build tag
54+
$Token = "${{ secrets.GITHUB_TOKEN }}"
55+
$Headers = @{
56+
Accept = "application/json"
57+
Authorization = "Bearer $Token"
58+
}
5459
$Parameters = @{
5560
Uri = "https://api.github.com/repos/farag2/Sophia-Script-for-Windows/releases"
61+
Headers = $Headers
5662
UseBasicParsing = $true
5763
Verbose = $true
5864
}

0 commit comments

Comments
 (0)