Skip to content

Commit

Permalink
Merge pull request #1263 from PrestaShopCorp/fix/zip-build-prod
Browse files Browse the repository at this point in the history
Fix upload zip on the repo
  • Loading branch information
Matt75 authored Aug 12, 2024
2 parents 4d506a9 + bf99d64 commit 3519cd3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ps8-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,22 @@ jobs:
- name: Install composer dependencies
run: composer install --no-dev -o

- name: Create directory with repo name and copy files
run: |
repo_name="${{ github.event.repository.name }}"
mkdir "$repo_name"
shopt -s dotglob nullglob
for file in *; do
if [ "$file" != "$repo_name" ]; then
mv "$file" "$repo_name/"
fi
done
- name: Create & upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.ZIP_NAME }}
path: ../
path: .

update_release_draft_production:
name: PRODUCTION - Update release draft
Expand Down

0 comments on commit 3519cd3

Please sign in to comment.