Compare commits

..

6 Commits

Author SHA1 Message Date
__JosephAbbey
cb819fce73 Create release.yaml
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-06 20:10:40 +01:00
Philip Abbey
ef299bcaf6 Render correct icon in web editor for info types (#248) 2025-07-06 13:53:24 +01:00
__JosephAbbey
f0eb9c26b1 Render correct icon in web editor for info types 2025-07-06 13:07:04 +01:00
__JosephAbbey
f1c592179d Added correctly formatted code comments (#246)
The newer SDK support tooltips to show the function prototype and help
text, so best to make good use of it.

I'm not expecting this to be 100% on the first iteration.
2025-07-05 13:58:35 +01:00
__JosephAbbey
4ed81df60a Fix spelling of Bluetooth
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-05 13:57:35 +01:00
__JosephAbbey
b4f5f34760 Fix spelling of Webhook
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-05 13:57:02 +01:00
4 changed files with 35 additions and 3 deletions

32
.github/workflows/release.yaml vendored Normal file
View File

@@ -0,0 +1,32 @@
name: Release
run-name: ${{ github.actor }} is releasing 🚀
on:
push:
tags:
- '*'
jobs:
Create-Release:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Decrypt developer key
# see https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions#storing-large-secrets
run: ./.github/scripts/decrypt_secret.sh
env:
INPUT: ./developer_key.gpg
OUTPUT: ./developer_key
PASSPHRASE: ${{ secrets.DEVELOPER_KEY_PASSPHRASE }}
- name: Create release
uses: blackshadev/garmin-connectiq-release-action@8.2.1
with:
projectJungle: ./monkey.jungle
developerKey: ./developer_key
outputPath: out/app.iq
- name: Upload release artifacts
uses: actions/upload-artifact@v4
with:
name: garmin-home-assistant-${{ github.ref_name }}
path: out/app.iq

View File

@@ -20,7 +20,7 @@ using Toybox.System;
//! WebLog provides a logging and hence debugging aid for when the application is //! WebLog provides a logging and hence debugging aid for when the application is
//! deployed to the watch. This is only used for development and use of it must not //! deployed to the watch. This is only used for development and use of it must not
//! persist into a deployed version. It uses a string buffer to group log entries into //! persist into a deployed version. It uses a string buffer to group log entries into
//! larger submissions in order to prevent overflow of the blue tooth stack. //! larger submissions in order to prevent overflow of the Bluetooth stack.
//! //!
//! Usage: //! Usage:
//! <pre> //! <pre>

View File

@@ -27,7 +27,7 @@ using Toybox.WatchUi;
// //
class WebhookManager { class WebhookManager {
//! Callback for requesting a Webhoo ID. //! Callback for requesting a Webhook ID.
//! //!
//! @param responseCode Response code //! @param responseCode Response code
//! @param data Return data //! @param data Return data

View File

@@ -37,7 +37,7 @@
margin-left: 0.5em; margin-left: 0.5em;
filter: grayscale() invert(); filter: grayscale() invert();
} }
.template { .template, .info {
background-image: url(../resources-icons-48/info_type.svg); background-image: url(../resources-icons-48/info_type.svg);
background-size: contain; background-size: contain;
margin-left: 0.5em; margin-left: 0.5em;