1"use strict";(self.webpackChunkgame_ci=self.webpackChunkgame_ci||[]).push([[1097],{3905:(e,n,t)=>{t.d(n,{Zo:()=>s,kt:()=>y});var r=t(67294);function i(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function o(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){i(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function l(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var u=r.createContext({}),c=function(e){var n=r.useContext(u),t=n;return e&&(t="function"==typeof e?e(n):o(o({},n),e)),t},s=function(e){var n=c(e.components);return r.createElement(u.Provider,{value:n},e.children)},p="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},g=r.forwardRef((function(e,n){var t=e.components,i=e.mdxType,a=e.originalType,u=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),p=c(t),g=i,y=p["".concat(u,".").concat(g)]||p[g]||m[g]||a;return t?r.createElement(y,o(o({ref:n},s),{},{components:t})):r.createElement(y,o({ref:n},s))}));function y(e,n){var t=arguments,i=n&&n.mdxType;if("string"==typeof e||i){var a=t.length,o=new Array(a);o[0]=g;var l={};for(var u in n)hasOwnProperty.call(n,u)&&(l[u]=n[u]);l.originalType=e,l[p]="string"==typeof e?e:i,o[1]=l;for(var c=2;c<a;c++)o[c]=t[c];return r.createElement.apply(null,o)}return r.createElement.apply(null,t)}g.displayName="MDXCreateElement"},85881:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>o,default:()=>m,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var r=t(87462),i=(t(67294),t(3905));const a={},o="Returning a license",l={unversionedId:"github/returning-a-license",id:"github/returning-a-license",title:"Returning a license",description:"Manually returning a license is usually never necessary, unless when running into an",source:"@site/docs/03-github/05-returning-a-license.mdx",sourceDirName:"03-github",slug:"/github/returning-a-license",permalink:"/docs/github/returning-a-license",draft:!1,editUrl:"https://github.com/game-ci/documentation/tree/main/docs/03-github/05-returning-a-license.mdx",tags:[],version:"current",sidebarPosition:5,frontMatter:{},sidebar:"defaultSidebar",previous:{title:"Builder",permalink:"/docs/github/builder"},next:{title:"Deploy to Google Play",permalink:"/docs/github/deployment/android"}},u={},c=[{value:"Basic setup",id:"basic-setup",level:2}],s={toc:c},p="wrapper";
1function m(e){let{components:n,...t}=e;return(0,i.kt)(p,(0,r.Z)({},s,t,{components:n,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"returning-a-license"},"Returning a license"),(0,i.kt)("p",null,"Manually returning a license is ",(0,i.kt)("strong",{parentName:"p"},"usually never necessary"),", unless when running into an\n",(0,i.kt)("em",{parentName:"p"},"unrecoverable error")," while having a license active."),(0,i.kt)("p",null,"Also, Unity only allows returning professional licenses."),(0,i.kt)("h2",{id:"basic-setup"},"Basic setup"),(0,i.kt)("p",null,"You may use ",(0,i.kt)("a",{parentName:"p",href:"https://github.com/marketplace/actions/unity-return-license"},"Unity - Return license")," to\nreturn your license and free up a spot towards the maximum number of active licenses."),(0,i.kt)("p",null,"Add this step to your workflow:"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-yaml"},"# Return License\n- name: Return license\n uses: game-ci/unity-return-license@v2\n if: always()\n")))}m.isMDXComponent=!0}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.