Skip to content

Commit

Permalink
- fix Upload built code
Browse files Browse the repository at this point in the history
  • Loading branch information
EwanLyon committed Dec 22, 2020
1 parent ec14d2e commit 1c04a9f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ jobs:

# Build the bundle
- name: Build bundle
run: npm run build --if-present
run: |
npm run build --if-present
zip -r nodecg-csgo-manager.zip package.json package-lock.json gamestate_integration_nodecg.cfg dashboard extension docs shared configschema.json README.md LICENSE node_modules
- name: Build Changelog
id: github_release
Expand All @@ -50,3 +52,14 @@ jobs:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: ${{steps.github_release.outputs.changelog}}

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./nodecg-csgo-manager.zip
asset_name: nodecg-csgo-manager.zip
asset_content_type: application/zip
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodecg-csgo-manager",
"version": "0.1.2",
"version": "0.1.3",
"description": "Layouts for CSGO spectating",
"homepage": "",
"author": {
Expand Down

0 comments on commit 1c04a9f

Please sign in to comment.