File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,16 @@ jobs:
9898 run : |
9999 SFX=${{ steps.vars.outputs.sfx }}
100100 for file in *.tar.gz; do
101- name=$(basename ${file} .tar.gz)
102- echo "Found: $name"
101+ fn=$(basename ${file} .tar.gz)
102+ name=${fn-*}
103+ arch=${fn##*-}
104+ echo "Found: $name arch: $arch"
103105 tar xf ${file}
104- mv ${name}/rootfs-oci ${name}-oci${SFX}
105- tar cfz ${name}-oci.tar.gz ${name}-oci${SFX}
106+ rm -f ${file}
107+ mv ${fn}/rootfs-oci ${name}-oci-${arch}${SFX}
108+ tar cfz ${name}-oci-${arch}${SFX}.tar.gz ${name}-oci-${arch}${SFX}
106109 done
107- ls -la *-oci ${SFX}/
110+ ls -la *-oc*i ${SFX}/
108111 ls -l *.tar.gz
109112 - name : Log in to registry
110113 run : |
@@ -133,8 +136,8 @@ jobs:
133136 - name : Summary
134137 run : |
135138 cat <<EOF >> $GITHUB_STEP_SUMMARY
136- # Edge Build of ${{ inputs.app }} Complete! :rocket:
139+ # Build of ${{ inputs.app }}, version ${{ steps.vars.outputs.ver }}, Complete! :rocket:
137140
138141 For the public download links of these build artifacts, please see:
139- <https://github.com/kernelkit/curiOS/releases/tag/edge >
142+ <https://github.com/kernelkit/curiOS/releases/tag/${{ steps.vars.outputs.ver }} >
140143 EOF
You can’t perform that action at this time.
0 commit comments