File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,8 +100,12 @@ jobs:
100100 }
101101 fi
102102
103- # Rename to include cache type
103+ # Rename and fix paths
104104 if [ -f "/tmp/output/bincache/${{ matrix.arch }}.json" ]; then
105+ # Fix temp paths in build_script URLs
106+ sed -i 's|/tmp/bincache-recipes/binaries/|binaries/|g' "/tmp/output/bincache/${{ matrix.arch }}.json"
107+ # Fix build_gha URL to point to soarpkgs
108+ sed -i 's|github.com/pkgforge/bincache/|github.com/${{ github.repository }}/|g' "/tmp/output/bincache/${{ matrix.arch }}.json"
105109 mv "/tmp/output/bincache/${{ matrix.arch }}.json" "/tmp/output/bincache-${{ matrix.arch }}.json"
106110 echo "::notice::bincache metadata generated"
107111 jq 'length' "/tmp/output/bincache-${{ matrix.arch }}.json"
@@ -127,8 +131,12 @@ jobs:
127131 }
128132 fi
129133
130- # Rename to include cache type
134+ # Rename and fix paths
131135 if [ -f "/tmp/output/pkgcache/${{ matrix.arch }}.json" ]; then
136+ # Fix temp paths in build_script URLs
137+ sed -i 's|/tmp/pkgcache-recipes/packages/|packages/|g' "/tmp/output/pkgcache/${{ matrix.arch }}.json"
138+ # Fix build_gha URL to point to soarpkgs
139+ sed -i 's|github.com/pkgforge/pkgcache/|github.com/${{ github.repository }}/|g' "/tmp/output/pkgcache/${{ matrix.arch }}.json"
132140 mv "/tmp/output/pkgcache/${{ matrix.arch }}.json" "/tmp/output/pkgcache-${{ matrix.arch }}.json"
133141 echo "::notice::pkgcache metadata generated"
134142 jq 'length' "/tmp/output/pkgcache-${{ matrix.arch }}.json"
You can’t perform that action at this time.
0 commit comments