mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-14 07:29:02 +03:00
authenticate request with GITHUB_TOKEN
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
7a9d60424a
commit
1a1f1b6f57
7
.github/workflows/test_nightly_many_os.yml
vendored
7
.github/workflows/test_nightly_many_os.yml
vendored
@ -16,7 +16,12 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: fetch releases data and save to file
|
||||
run: curl https://api.github.com/repos/roc-lang/roc/releases --output roc_releases.json
|
||||
run: |
|
||||
curl --request GET \
|
||||
--url https://api.github.com/repos/roc-lang/roc/releases \
|
||||
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
|
||||
--header 'content-type: application/json' \
|
||||
--output roc_releases.json
|
||||
|
||||
- run: cat roc_releases.json | wc -c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user