diff --git a/.github/workflows/curl-api.yml b/.github/workflows/curl-api.yml index e853ff8..75a32aa 100644 --- a/.github/workflows/curl-api.yml +++ b/.github/workflows/curl-api.yml @@ -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 " \ + -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 \ No newline at end of file