{"id":5325,"date":"2025-07-23T13:26:59","date_gmt":"2025-07-23T13:26:59","guid":{"rendered":"https:\/\/techhub.saworks.io\/docs\/tutoriel-github\/automatisez-votre-workflow-avec-github-actions-partie-2-sur-2\/exercice-publier-dans-un-registre-github-packages\/"},"modified":"2025-07-23T13:32:46","modified_gmt":"2025-07-23T13:32:46","slug":"exercice-publier-dans-un-registre-github-packages","status":"publish","type":"docs","link":"https:\/\/techhub.saworks.io\/fr\/docs\/tutoriel-github\/automatisez-votre-workflow-avec-github-actions-partie-2-sur-2\/exercice-publier-dans-un-registre-github-packages\/","title":{"rendered":"Exercice \u2013 Publier dans un registre GitHub Packages"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<p>Dans cet exercice, vous allez naviguer vers un d\u00e9p\u00f4t GitHub pour valider votre capacit\u00e9 \u00e0 publier dans un registre&nbsp;<strong>GitHub Packages<\/strong>.<\/p>\n\n\n\n<p>Cet exercice GitHub est&nbsp;<strong>\u00e9valu\u00e9 automatiquement<\/strong>&nbsp;une fois que vous avez tent\u00e9 une solution au d\u00e9fi. Les r\u00e9sultats de vos actions, ainsi que des commentaires utiles, sont fournis en temps r\u00e9el dans les journaux du workflow&nbsp;<code>grade-learner<\/code>.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Voici quelques conseils utiles avant de commencer l\u2019exercice :<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Lisez la section&nbsp;<strong>\u00c0 propos de cet exercice<\/strong>&nbsp;dans le fichier&nbsp;<strong>README<\/strong>&nbsp;du d\u00e9p\u00f4t pour comprendre le fonctionnement de l\u2019exercice.<\/li>\n\n\n\n<li>Suivez les \u00e9tapes fournies dans la section&nbsp;<strong>Instructions<\/strong>&nbsp;pour r\u00e9ussir l\u2019exercice.<\/li>\n\n\n\n<li>Pour voir les r\u00e9sultats de votre exercice, allez dans l\u2019onglet&nbsp;<strong>Actions<\/strong>&nbsp;de votre d\u00e9p\u00f4t clon\u00e9 et cliquez sur la derni\u00e8re ex\u00e9cution du workflow&nbsp;<strong>Grading<\/strong>.<\/li>\n\n\n\n<li>Vous \u00eates bloqu\u00e9 ? Revenez sur le contenu de l\u2019unit\u00e9 pr\u00e9c\u00e9dente ou consultez la section&nbsp;<strong>Ressources utiles<\/strong>&nbsp;dans le README du d\u00e9p\u00f4t pour obtenir de l\u2019aide suppl\u00e9mentaire.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group has-background is-layout-constrained wp-block-group-is-layout-constrained\" style=\"border-width:1px;border-radius:15px;background-color:#9b51e04d\">\n<p><strong>Remarque<\/strong><\/p>\n\n\n\n<p>Un script d\u2019\u00e9valuation se trouve dans&nbsp;<code>.github\/workflows\/grading.yml<\/code>.<br><strong>Vous n\u2019avez pas besoin de modifier ce workflow<\/strong>&nbsp;pour r\u00e9ussir l\u2019exercice. Modifier son contenu pourrait emp\u00eacher l\u2019exercice de valider vos actions, de fournir des retours ou de noter les r\u00e9sultats.<\/p>\n<\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Cet exercice est un&nbsp;<strong>d\u00e9fi bas\u00e9 sur le contenu<\/strong>&nbsp;couvert dans ce module, et il peut y avoir&nbsp;<strong>plusieurs fa\u00e7ons valides<\/strong>&nbsp;de le r\u00e9ussir. Si vous \u00eates bloqu\u00e9, revenez sur les unit\u00e9s pr\u00e9c\u00e9dentes ou explorez les ressources suppl\u00e9mentaires fournies.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/github.com\/skills\/publish-packages\">Commencer l&rsquo;exercice sur Github<\/a><\/div>\n<\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Une fois l\u2019exercice termin\u00e9 sur GitHub, revenez ici pour passer \u00e0 l\u2019unit\u00e9 suivante.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Dans cet exercice, vous allez naviguer vers un d\u00e9p\u00f4t GitHub pour valider votre capacit\u00e9 \u00e0 publier dans un registre&nbsp;GitHub Packages. Cet exercice GitHub [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":5295,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"doc_badge":[],"class_list":["post-5325","docs","type-docs","status-publish","hentry"],"author_avatar":"https:\/\/secure.gravatar.com\/avatar\/6a70e7c73db9f245e650948d09d74f61?s=96&d=mm&r=g","author_name":"Annick N'dri","_links":{"self":[{"href":"https:\/\/techhub.saworks.io\/fr\/wp-json\/wp\/v2\/docs\/5325"}],"collection":[{"href":"https:\/\/techhub.saworks.io\/fr\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/techhub.saworks.io\/fr\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/techhub.saworks.io\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/techhub.saworks.io\/fr\/wp-json\/wp\/v2\/comments?post=5325"}],"version-history":[{"count":0,"href":"https:\/\/techhub.saworks.io\/fr\/wp-json\/wp\/v2\/docs\/5325\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/techhub.saworks.io\/fr\/wp-json\/wp\/v2\/docs\/5295"}],"wp:attachment":[{"href":"https:\/\/techhub.saworks.io\/fr\/wp-json\/wp\/v2\/media?parent=5325"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/techhub.saworks.io\/fr\/wp-json\/wp\/v2\/doc_tag?post=5325"},{"taxonomy":"doc_badge","embeddable":true,"href":"https:\/\/techhub.saworks.io\/fr\/wp-json\/wp\/v2\/doc_badge?post=5325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}