From 70e24fa6a3daaac10909a7430f91a35ccd0246f9 Mon Sep 17 00:00:00 2001 From: Rob Larsen Date: Wed, 3 Jun 2020 13:02:49 -0400 Subject: [PATCH] Adjusts the contents of the zip folder... and updates the name to match previous versions. --- .github/workflows/publish.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 645b702a66..b013a2a9d9 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -16,7 +16,8 @@ jobs: id: get_version run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) - name: Create Zip Folder - run: zip -r ${{ steps.get_version.outputs.VERSION }}.zip ./dist + working-directory: dist + run: zip -r ../html5-boilerplate_${{ steps.get_version.outputs.VERSION }}.zip ./ - name: Create Release id: create_release uses: actions/create-release@v1 @@ -34,8 +35,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./${{ steps.get_version.outputs.VERSION }}.zip - asset_name: ${{ steps.get_version.outputs.VERSION }}.zip + asset_path: ./html5-boilerplate_${{ steps.get_version.outputs.VERSION }}.zip + asset_name: html5-boilerplate_${{ steps.get_version.outputs.VERSION }}.zip asset_content_type: application/zip - name: Setup Node uses: actions/setup-node@v1