Skip to content

Commit

Permalink
Use machine-friendly name for release assets
Browse files Browse the repository at this point in the history
Quote the friendly Dictionary package name to avoid shell issues
  • Loading branch information
jeffbyrnes committed Jan 11, 2022
1 parent 73991ac commit 8c86a76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 8c86a76

Please sign in to comment.