Skip to content

Commit f19c89a

Browse files
authored
Merge pull request #2260 from h5bp/fixing-the-zip-contents
Adjusts the contents of the zip folder...
2 parents 96bfe28 + 70e24fa commit f19c89a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
id: get_version
1717
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
1818
- name: Create Zip Folder
19-
run: zip -r ${{ steps.get_version.outputs.VERSION }}.zip ./dist
19+
working-directory: dist
20+
run: zip -r ../html5-boilerplate_${{ steps.get_version.outputs.VERSION }}.zip ./
2021
- name: Create Release
2122
id: create_release
2223
uses: actions/create-release@v1
@@ -34,8 +35,8 @@ jobs:
3435
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3536
with:
3637
upload_url: ${{ steps.create_release.outputs.upload_url }}
37-
asset_path: ./${{ steps.get_version.outputs.VERSION }}.zip
38-
asset_name: ${{ steps.get_version.outputs.VERSION }}.zip
38+
asset_path: ./html5-boilerplate_${{ steps.get_version.outputs.VERSION }}.zip
39+
asset_name: html5-boilerplate_${{ steps.get_version.outputs.VERSION }}.zip
3940
asset_content_type: application/zip
4041
- name: Setup Node
4142
uses: actions/setup-node@v1

0 commit comments

Comments
 (0)