Skip to content

Commit 8e1a109

Browse files
committed
Reapply "Update pecl.yml"
This reverts commit d2450f3.
1 parent 86950e6 commit 8e1a109

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/pecl.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,18 +130,22 @@ 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"
133+
<<<<<<< HEAD
134+
unzip -oq artifact_wrapper.zip
135+
=======
136+
New-Item -Path ".\$artifact_id" -ItemType Directory -Force | Out-Null
134137
unzip -oq artifact_wrapper.zip -d "./$artifact_id"
138+
>>>>>>> parent of d5b3e83 (Update pecl.yml)
135139

136140
if ! gh release view "${release_tag}" -R ${{ github.repository }} >/dev/null 2>&1; then
137-
if ! gh release create "${release_tag}" ./$artifact_id/php-* \
141+
if ! gh release create "${release_tag}" php-* \
138142
-t "${extension} ${ref}" \
139143
-n "Release of PECL extension '${extension}' version ${ref}" \
140144
-R ${{ github.repository }}; then
141-
gh release upload "${release_tag}" ./$artifact_id/php-* \
145+
gh release upload "${release_tag}" php-* \
142146
-R ${{ github.repository }} --clobber
143147
fi
144148
else
145-
gh release upload "${release_tag}" ./$artifact_id/php-* \
149+
gh release upload "${release_tag}" php-* \
146150
-R ${{ github.repository }} --clobber
147151
fi

0 commit comments

Comments
 (0)