From 68b721e7759e9a26ad64a288a1b6d014aee4e1e6 Mon Sep 17 00:00:00 2001 From: hideki_okajima Date: Mon, 31 Aug 2020 13:24:41 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=91=E3=83=83=E3=82=B1=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=81=AE=E3=83=87=E3=82=A3=E3=83=AC=E3=82=AF=E3=83=88=E3=83=AA?= =?UTF-8?q?=E5=90=8D=E3=81=AB=E3=82=BF=E3=82=B0=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/action.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index c6eeeee6a93..5d2d7e3d101 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -799,6 +799,8 @@ jobs: - name: Checkout if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'prereleased' ) uses: actions/checkout@master + with: + path: ${{ github.event.repository.name }}-${{ github.event.release.tag_name }} - name: Setup PHP if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'prereleased' ) @@ -857,7 +859,7 @@ jobs: working-directory: ../ env: TAG_NAME: ${{ github.event.release.tag_name }} - REPOSITORY_NAME: ${{ github.event.repository.name }} + PATH_NAME: ${{ github.event.repository.name }}-${{ github.event.release.tag_name }} run: | rm -rf $GITHUB_WORKSPACE/.editorconfig rm -rf $GITHUB_WORKSPACE/.gitignore @@ -887,8 +889,8 @@ jobs: chmod -R o+w $GITHUB_WORKSPACE echo "complession files..." - tar czfp eccube-$TAG_NAME.tar.gz $REPOSITORY_NAME - zip -ry eccube-$TAG_NAME.zip $REPOSITORY_NAME 1> /dev/null + tar czfp eccube-$TAG_NAME.tar.gz $PATH_NAME + zip -ry eccube-$TAG_NAME.zip $PATH_NAME 1> /dev/null md5sum eccube-$TAG_NAME.tar.gz | awk '{ print $1 }' > eccube-$TAG_NAME.tar.gz.checksum.md5 md5sum eccube-$TAG_NAME.zip | awk '{ print $1 }' > eccube-$TAG_NAME.zip.checksum.md5 sha1sum eccube-$TAG_NAME.tar.gz | awk '{ print $1 }' > eccube-$TAG_NAME.tar.gz.checksum.sha1