Skip to content

Commit e28b459

Browse files
authored
Update pecl.yml
1 parent 92dec1f commit e28b459

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/pecl.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,18 +130,17 @@ jobs:
130130
"https://api.github.com/repos/${{ github.repository }}/actions/artifacts/${artifact_id}/zip" \
131131
-o artifact_wrapper.zip
132132
133-
mkdir -p "$artifact_id"
134-
unzip -oq artifact_wrapper.zip -d "${artifact_id}"
133+
unzip -oq artifact_wrapper.zip
135134
136135
if ! gh release view "${release_tag}" -R ${{ github.repository }} >/dev/null 2>&1; then
137-
if ! gh release create "${release_tag}" ${artifact_id}/php-* \
136+
if ! gh release create "${release_tag}" php-* \
138137
-t "${extension} ${ref}" \
139138
-n "Release of PECL extension '${extension}' version ${ref}" \
140139
-R ${{ github.repository }}; then
141-
gh release upload "${release_tag}" ${artifact_id}/php-* \
140+
gh release upload "${release_tag}" php-* \
142141
-R ${{ github.repository }} --clobber
143142
fi
144143
else
145-
gh release upload "${release_tag}" ${artifact_id}/php-* \
144+
gh release upload "${release_tag}" php-* \
146145
-R ${{ github.repository }} --clobber
147146
fi

0 commit comments

Comments
 (0)