Skip to content

Commit 0938b1f

Browse files
committed
Fix artifact names
1 parent 2edd736 commit 0938b1f

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,22 @@ jobs:
119119
EXTENSION="$(find ./modules -type f -name 'zephir_parser.so')"
120120
fi
121121
122-
zip -rvj zephir-parser-php-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.name }}-${{ matrix.arch }}.zip \
122+
zip -rvj zephir_parser-php-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.name }}-${{ matrix.arch }}.zip \
123123
$EXTENSION VERSION LICENSE CREDITS NO_WARRANTY CHANGELOG.md
124124
echo "::endgroup::"
125125
126+
# Artifact names should be in next format:
127+
# zephir_parser-{php-version}-{ts}-{os.name}-{compiler}-{arch}
128+
# example:
129+
# zephir_parser-php-7.3-nts-macos-clang-x64.zip
130+
# zephir_parser-php-7.3-nts-ubuntu-gcc-x64.zip
131+
# zephir_parser-php-7.3-nts-windows2019-vc15-x64.zip
126132
- name: Upload Zephir Parser
127133
uses: actions/upload-artifact@v2
128134
with:
129-
name: zephir-parser-php-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.name }}-${{ matrix.arch }}.zip
135+
name: zephir_parser-php-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.name }}-${{ matrix.arch }}.zip
130136
path: |
131-
${{ github.workspace }}/zephir-parser-*.zip
137+
${{ github.workspace }}/zephir_parser-*.zip
132138
133139
- name: Check for Errors
134140
if: always()
@@ -159,7 +165,7 @@ jobs:
159165
uses: actions/upload-artifact@v2
160166
with:
161167
retention-days: 2
162-
name: errors-zephir-parser-php-zephir-parser-php-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.name }}-${{ matrix.arch }}
168+
name: debug-zephir_parser-php-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.name }}-${{ matrix.arch }}
163169
path: |
164170
${{ github.workspace }}/tests
165171
${{ github.workspace }}/parser
@@ -259,7 +265,7 @@ jobs:
259265
- name: Prepare Release assets
260266
run: |
261267
mkdir -p ./build-artifacts/release
262-
find ./build-artifacts -type f -name zephir-parser*.zip -exec cp {} ./build-artifacts/release/ ";"
268+
find ./build-artifacts -type f -name zephir_parser*.zip -exec cp {} ./build-artifacts/release/ ";"
263269
echo "-- Creating Release Notes"
264270
./.ci/release-notes.sh ./CHANGELOG.md > ./build-artifacts/release/release-notes.md
265271

0 commit comments

Comments
 (0)