Skip to content

Commit

Permalink
Updated workflow and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinvdpol committed Sep 16, 2024
1 parent daead17 commit c5b9015
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 59 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

51 changes: 2 additions & 49 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,57 +2,10 @@ name: Release

on:
workflow_dispatch:
inputs:
version:
type: choice
description: Version
required: true
default: patch
options:
- major
- minor
- patch
changelog:
type: string
description: Changelog
required: true

jobs:
main:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Update version
uses: athombv/github-action-homey-app-version@master
id: update_version
with:
version: ${{ inputs.version }}
changelog: ${{ inputs.changelog }}

- name: Commit version
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Version ${{ steps.update_version.outputs.version }}
tagging_message: v${{ steps.update_version.outputs.version }}

- name: Publish
uses: athombv/github-action-homey-app-publish@master
id: publish
with:
personal_access_token: ${{ secrets.HOMEY_PAT }}

- name: Summary
run: echo "Release can be managed at ${{ steps.publish.outputs.url }}" >> $GITHUB_STEP_SUMMARY

- name: Release
uses: softprops/action-gh-release@v2
with:
body: ${{ inputs.changelog }}
make_latest: true
tag_name: v${{ steps.update_version.outputs.version }}
uses: edwinvdpol/.github/.github/workflows/homey-release.yml@main
secrets: inherit
11 changes: 2 additions & 9 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,5 @@ on:

jobs:
main:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- uses: athombv/github-action-homey-app-validate@master
with:
level: verified
uses: edwinvdpol/.github/.github/workflows/homey-validate.yml@main
secrets: inherit
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ICO Pool/Spa for Homey

![Homey App Validation](https:/edwinvdpol/homey-ondilo/actions/workflows/validate.yml/badge.svg)

ICO will monitor your pool/spa.

It analyzes your water quality, helps you with your maintenance and anticipates changes in the weather.
Expand Down

0 comments on commit c5b9015

Please sign in to comment.