Skip to content

Commit d7b18c9

Browse files
committed
Refactor CI workflow and composer.json
- Refactored the CI workflow to use a wildcard in the blob name for simpay-wordpress zip file. - Removed the step to rename the archive file in the CI workflow. - Updated composer.json to remove ".zip" extension from the name field.
1 parent 764a973 commit d7b18c9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
env:
44
php_version: "8.2"
5-
blob_name: "simpay-wordpress-${{ github.ref_name }}.zip"
5+
blob_name: "simpay-wordpress-*.zip"
66
archive_format: "zip"
77

88
on:
@@ -28,8 +28,6 @@ jobs:
2828
php_extensions: yaml
2929
command: archive
3030
args: --format=${{ env.archive_format }}
31-
- name: Rename archive
32-
run: mv simpay-wordpress.zip simpay-wordpress-${{ github.ref_name }}.zip
3331
- name: Release
3432
uses: softprops/action-gh-release@v1
3533
if: success() || failure()

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"DOCKER_ENV",
2121
"docker_tag"
2222
],
23-
"name": "simpay-wordpress.zip"
23+
"name": "simpay-wordpress"
2424
}
2525
}

0 commit comments

Comments
 (0)