mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-07-30 16:38:31 +00:00
Compare commits
1 Commits
e2722319a6
...
CI-Release
Author | SHA1 | Date | |
---|---|---|---|
cb819fce73 |
32
.github/workflows/release.yaml
vendored
Normal file
32
.github/workflows/release.yaml
vendored
Normal 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
|
Reference in New Issue
Block a user