Skip to content

v0.1.1

v0.1.1 #3

Workflow file for this run

name: "Release"
on:
release:
types:
- "published"
permissions: {}
jobs:
release:
name: "Release"
runs-on: "ubuntu-latest"
permissions:
contents: write
steps:
- name: "Checkout the repository"
uses: "actions/[email protected]"
- name: "Adjust version number"
shell: "bash"
run: |

Check failure on line 22 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 22, Col: 14): Unexpected symbol: 'tag_name:1'. Located at position 22 within expression: github.event.release.tag_name:1
yq -i -o json '.version="${{ github.event.release.tag_name:1 }}"' \
"${{ github.workspace }}/custom_components/must_inverter/manifest.json"
- name: "ZIP the integration directory"
shell: "bash"
run: |
cd "${{ github.workspace }}/custom_components/must_inverter"
zip must_inverter.zip -r ./
- name: "Upload the ZIP file to the release"
uses: softprops/[email protected]
with:
files: ${{ github.workspace }}/custom_components/must_inverter/must_inverter.zip