Skip to content

Commit

Permalink
Merge pull request #312 from cgiesche/add-elgato-devtools
Browse files Browse the repository at this point in the history
Added elgato CLI for packing and validation
  • Loading branch information
cgiesche authored Nov 12, 2024
2 parents ca0acc8 + 677ed6e commit d34ea5d
Show file tree
Hide file tree
Showing 8 changed files with 1,677 additions and 398 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:

- name: NPM Install
run: npm install

- name: Lint
run: npm run lint

- name: Build
run: npm run build

- name: Streamdeck Validate
run: npm run validate
13 changes: 4 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,14 @@ jobs:
with:
file: public/manifest.json
field: Version
value: ${{ steps.tagName.outputs.tag }}
value: ${{ steps.tagName.outputs.tag }}.${{ github.run_number }}

- name: NPM Install
run: npm install

- name: VUE Build
run: npm run build

- name: Create plugin folder structure
run: cp -r ./dist de.perdoctus.streamdeck.homeassistant.sdPlugin

- name: Zip Dist
run: zip -r release.zip ./de.perdoctus.streamdeck.homeassistant.sdPlugin
- name: Streamdeck Bundle
run: npm run bundle

- name: Upload Release Asset
id: upload-release-asset
Expand All @@ -44,6 +39,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./release.zip
asset_path: ./de.perdoctus.streamdeck.homeassistant.streamDeckPlugin
asset_name: de.perdoctus.streamdeck.homeassistant.streamDeckPlugin
asset_content_type: application/zip
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.DS_Store
node_modules
/dist

/de.perdoctus.streamdeck.homeassistant.sdPlugin
*.streamDeckPlugin

# local env files
.env.local
Expand Down
Loading

0 comments on commit d34ea5d

Please sign in to comment.