Skip to content

Commit

Permalink
curl api
Browse files Browse the repository at this point in the history
  • Loading branch information
slow-groovin committed Aug 15, 2024
1 parent 020eb46 commit 6f56f9b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/curl-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,17 @@ jobs:
"body": "This issue was automatically created by the GitHub Action workflow **${{ github.workflow }}**. \n\n The commit hash was: _${{ github.sha }}_."
}' \
--fail
- name: list packages
run: |
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }} " \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/user/packages?package_type=maven"
- name: get Package
run: |
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/users/slow-groovin/packages/maven/com.github.action.test.github-package-upload-config

0 comments on commit 6f56f9b

Please sign in to comment.