From 8c86a7693bef29a3dd51c87ec00f4d882d5cb9dc Mon Sep 17 00:00:00 2001 From: Jeff Byrnes Date: Tue, 11 Jan 2022 08:54:50 -0500 Subject: [PATCH] Use machine-friendly name for release assets Quote the friendly Dictionary package name to avoid shell issues --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9bc064f..4adc611 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,12 +51,12 @@ jobs: - name: Create dictionary package run: npm run build - name: Zip up dictionary - run: cd template/objects && zip -r9 Webster's Unabridged Dictionary (1913).dictionary.zip Webster's Unabridged Dictionary (1913).dictionary + run: cd template/objects && zip -r9 websters-1913.dictionary.zip "Webster's Unabridged Dictionary (1913).dictionary" - name: Upload dictionary archive uses: actions/upload-artifact@v2 with: name: dictionary - path: template/objects/Webster's Unabridged Dictionary (1913).dictionary.zip + path: template/objects/websters-1913.dictionary.zip release: name: Create Release @@ -91,6 +91,6 @@ jobs: # See this blog post for more info: # https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: Webster's Unabridged Dictionary (1913).dictionary.zip - asset_name: Webster's Unabridged Dictionary (1913).dictionary.zip + asset_path: websters-1913.dictionary.zip + asset_name: websters-1913.dictionary.zip asset_content_type: application/zip