File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -130,17 +130,18 @@ jobs:
130130 "https://api.github.com/repos/${{ github.repository }}/actions/artifacts/${artifact_id}/zip" \
131131 -o artifact_wrapper.zip
132132
133- unzip -oq artifact_wrapper.zip
133+ mkdir -p "$artifact_id"
134+ unzip -oq artifact_wrapper.zip -d "${artifact_id}"
134135
135136 if ! gh release view "${release_tag}" -R ${{ github.repository }} >/dev/null 2>&1; then
136- if ! gh release create "${release_tag}" php-* \
137+ if ! gh release create "${release_tag}" ${artifact_id}/ php-* \
137138 -t "${extension} ${ref}" \
138139 -n "Release of PECL extension '${extension}' version ${ref}" \
139140 -R ${{ github.repository }}; then
140- gh release upload "${release_tag}" php-* \
141+ gh release upload "${release_tag}" ${artifact_id}/ php-* \
141142 -R ${{ github.repository }} --clobber
142143 fi
143144 else
144- gh release upload "${release_tag}" php-* \
145+ gh release upload "${release_tag}" ${artifact_id}/ php-* \
145146 -R ${{ github.repository }} --clobber
146147 fi
You can’t perform that action at this time.
0 commit comments