Skip to content

Commit 56aa759

Browse files
committed
Revert "Update pecl.yml"
This reverts commit e28b459.
1 parent e28b459 commit 56aa759

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/pecl.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)