{"id":21096388,"url":"https://github.com/githubtraining/exercise-publish-package","last_synced_at":"2025-05-16T15:34:39.515Z","repository":{"id":37981076,"uuid":"402519763","full_name":"githubtraining/exercise-publish-package","owner":"githubtraining","description":"A hands-on exercise using GitHub Actions. See README.md for instructions on how to get started.","archived":false,"fork":false,"pushed_at":"2023-03-03T06:58:59.000Z","size":78,"stargazers_count":9,"open_issues_count":5,"forks_count":28,"subscribers_count":0,"default_branch":"main","last_synced_at":"2023-05-22T10:55:15.810Z","etag":null,"topics":["exercise"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/githubtraining.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-02T18:13:27.000Z","updated_at":"2023-04-16T16:37:49.000Z","dependencies_parsed_at":"2023-02-09T03:30:51.544Z","dependency_job_id":null,"html_url":"https://github.com/githubtraining/exercise-publish-package","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubtraining%2Fexercise-publish-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubtraining%2Fexercise-publish-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubtraining%2Fexercise-publish-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubtraining%2Fexercise-publish-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/githubtraining","download_url":"https://codeload.github.com/githubtraining/exercise-publish-package/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225437111,"owners_count":17474256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exercise"],"created_at":"2024-11-19T22:36:12.731Z","updated_at":"2024-11-19T22:36:13.286Z","avatar_url":"https://github.com/githubtraining.png","language":"JavaScript","readme":"# Welcome to the exercise on publishing packages!\n\nThis exercise checks your ability to publish to a GitHub Packages registry. It is automatically graded via a workflow once you have completed the instructions.\n\n## About this exercise\n\n:warning: A grading script exists under `.github/workflows/grading.yml`. You do not need to use this workflow for any purpose and **altering its contents will affect the repository's ability to assess your exercise and give feedback.**\n\n:warning: This exercise utilizes [GitHub Actions](https://docs.github.com/en/actions), which is free for public repositories and self-hosted runners, but may incur charges on private repositories. See [About billing for GitHub Actions](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions) to learn more.\n\n:information_source: The use of GitHub Actions also means that it may take the grading workflow a few seconds and sometimes minutes to run.\n\n## Instructions\n\n\u003c!-- Specific instructions for your exercise --\u003e\n\nPlease complete the instructions below:\n\n1. Create your own copy of this repository by using the [Use this template](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template#creating-a-repository-from-a-template) button.\n2. Publish a package of your choice. Ensure the package is associated with this repository. Starter packages can be found in [`sample-packages`](sample-packages/) but may need to be configured further to complete this exercise. \n\n\u003c!-- Add your steps below starting with step 2 --\u003e\n\n## Seeing your result\n\nYour exercise is graded automatically once you have completed the instructions. To see the result of your exercise, go to the **Actions** tab, and see the most recent run on the **Grading** workflow. \u003c!-- specify expected Looking Glass display_type --\u003e\u003c!-- specific place to look --\u003e\n\n\u003c!-- Display types:\n- actions\n- issues\n --\u003e\n\nSee [Viewing workflow run history](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history) if you need assistance.\n\n## Troubleshooting\n\nIf you are stuck with a step in the exercise or the grading workflow does not automatically run after you complete the instructions, run the troubleshooter: in the **Actions** tab select the **Grading workflow**, click **Run workflow**, select the appropriate branch, and click the **Run workflow** button.\n\nThe troubleshooter will either display useful information to help you understand what you might have done wrong in your exercise or redirect you to the documentation relevant to your exercise to help you out.\n\nSee [Running a workflow on GitHub](https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow#running-a-workflow) if you need assistance.\n\n## Useful resources\n\nUse these to help you!\n\nResources specific to this exercise:\n\n\u003c!-- - Add further resources for the learner --\u003e\n\n- [Working with a GitHub Packages registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry)\n- [Connecting a repository to a package](https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package)\n- [Publishing a package](https://docs.github.com/en/packages/learn-github-packages/publishing-a-package)\n\nResources for working with exercises and GitHub Actions in general:\n\n- [Creating a repository from a template](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubtraining%2Fexercise-publish-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithubtraining%2Fexercise-publish-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubtraining%2Fexercise-publish-package/lists"}