Skip to content

Commit

Permalink
Refactor CI workflow and composer.json
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
DarkGL committed Oct 10, 2023
1 parent 764a973 commit d7b18c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

env:
php_version: "8.2"
blob_name: "simpay-wordpress-${{ github.ref_name }}.zip"
blob_name: "simpay-wordpress-*.zip"
archive_format: "zip"

on:
Expand All @@ -28,8 +28,6 @@ jobs:
php_extensions: yaml
command: archive
args: --format=${{ env.archive_format }}
- name: Rename archive
run: mv simpay-wordpress.zip simpay-wordpress-${{ github.ref_name }}.zip
- name: Release
uses: softprops/action-gh-release@v1
if: success() || failure()
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"DOCKER_ENV",
"docker_tag"
],
"name": "simpay-wordpress.zip"
"name": "simpay-wordpress"
}
}

0 comments on commit d7b18c9

Please sign in to comment.