From cb819fce73f4e5ca7b8d57a79e05a50a5dc30f64 Mon Sep 17 00:00:00 2001 From: __JosephAbbey Date: Sun, 6 Jul 2025 20:10:40 +0100 Subject: [PATCH] Create release.yaml Signed-off-by: __JosephAbbey --- .github/workflows/release.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..3851d81 --- /dev/null +++ b/.github/workflows/release.yaml @@ -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