From 29729e23d1410bde15107ed1d2aca0b08469ee52 Mon Sep 17 00:00:00 2001 From: brandonkelly Date: Tue, 15 Oct 2024 15:32:06 -0700 Subject: [PATCH] Better --- .github/workflows/create-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index e665f518ef4..ba49b10208e 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -56,7 +56,8 @@ jobs: run: 'composer create-project craftcms/craft:^5 --no-scripts ${{ env.PROJECT_DIRECTORY }}' - name: 'Replace composer.json with composer.json.default' - run: 'rm ${{ env.PROJECT_DIRECTORY }}/composer.json && mv ${{ env.PROJECT_DIRECTORY }}/composer.json.default ${{ env.PROJECT_DIRECTORY }}/composer.json' + working-directory: ${{ env.PROJECT_DIRECTORY }} + run: 'rm composer.json && mv composer.json.default composer.json' - name: 'Install specific Craft version' working-directory: ${{ env.PROJECT_DIRECTORY }}