<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="286330" data-post-id="286330">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="felix-starman" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/felix-starman/120/18051_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  felix-starman
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I just ran into this with GitHub Actions and caching.</p>
<p>I believe it’s that <code>_build/test/lib/ranch/ebin/</code> is a symlink to <code>deps/ranch/ebin/</code> and during <code>deps.compile</code> it will actually compile the <code>.beam</code> files into the <code>deps/ranch/ebin</code> folder. If there is a discrepancy between architectures, erlang versions, or anything that would cause the .beam file in the <code>deps/ranch/ebin</code> file to be considered invalid for the final runtime container, it will fail to find it. Or I guess if you’re only moving the <code>_build</code> and not the <code>deps</code> too, that’d do it. In that case, if you’re only moving the _build, then you probably want a release. If this isn’t for a release container, then you’ll need to copy deps and _build</p>
<p>Obviously my scenario is very different, but I hope that helps some?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="286330" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/copying-build-deps-and-recompiling-in-different-docker-container-ci-cd/54811/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-286330" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="286330"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>