🐳 Fix: Avoid workspace collision by using different mount path
This commit is contained in:
@@ -65,10 +65,10 @@ jobs:
|
|||||||
if: steps.cache-swagger-restore.outputs.cache-hit != 'true'
|
if: steps.cache-swagger-restore.outputs.cache-hit != 'true'
|
||||||
run: >
|
run: >
|
||||||
docker run --rm
|
docker run --rm
|
||||||
-v ${GITHUB_WORKSPACE}:/workspace
|
-v ${GITHUB_WORKSPACE}:/host-workspace
|
||||||
-w /workspace
|
-w /workspace
|
||||||
gitea.arcodange.lab/arcodange/dance-lessons-coach-build-cache:${{ steps.calc_hash.outputs.deps_hash }}
|
gitea.arcodange.lab/arcodange/dance-lessons-coach-build-cache:${{ steps.calc_hash.outputs.deps_hash }}
|
||||||
sh -c "ls -la && pwd && ls -la && find . -name go.mod -type f 2>/dev/null"
|
sh -c "cp -r /host-workspace/. /workspace && ls -la && pwd && find . -name go.mod -type f 2>/dev/null"
|
||||||
|
|
||||||
- name: Save Swagger Docs Cache
|
- name: Save Swagger Docs Cache
|
||||||
if: steps.cache-swagger-restore.outputs.cache-hit != 'true'
|
if: steps.cache-swagger-restore.outputs.cache-hit != 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user