This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
chore: 🌐 Add machine translations #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Release" | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
permissions: {} | |
jobs: | |
release: | |
name: "Release" | |
runs-on: "ubuntu-latest" | |
permissions: | |
contents: write | |
steps: | |
- name: "Checkout the repository" | |
uses: "actions/[email protected]" | |
- name: Update CHANGELOG | |
id: changelog | |
uses: requarks/changelog-action@v1 | |
with: | |
token: ${{ github.token }} | |
tag: ${{ github.ref_name }} | |
- name: "Adjust version number" | |
shell: "bash" | |
run: | | |
yq -i -o json '.version="${{ github.ref_name }}"' \ | |
"${{ github.workspace }}/custom_components/aladdin_connect/manifest.json" | |
- name: Zip custom components dir | |
working-directory: "custom_components" | |
run: zip -r aladdin_connect.zip aladdin_connect/* | |
- name: "Upload the ZIP file to the release" | |
uses: softprops/[email protected] | |
with: | |
body: ${{ steps.changelog.outputs.changes }} | |
token: ${{ secrets.GH_TOKEN }} | |
files: ./custom_components/aladdin_connect.zip |