fixed wrong state for lock transitioning phase #57
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: Makefile CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Get devices | |
run: | | |
cd ~ | |
wget https://hatl.at/devices.zip | |
unzip -qq devices.zip | |
- name: Get SDK | |
run: | | |
mkdir ~/sdk | |
cd ~/sdk | |
wget https://developer.garmin.com/downloads/connect-iq/sdks/connectiq-sdk-lin-6.4.2-2024-01-04-a1dd13ee0.zip | |
unzip -qq connectiq-sdk-lin-6.4.2-2024-01-04-a1dd13ee0.zip | |
echo ~/sdk/bin >> $GITHUB_PATH | |
- name: Set SDK location | |
run: | | |
cd widget | |
echo "sdk.location=~/sdk" > local.properties | |
- name: Generate developer key | |
run: | | |
openssl genrsa -out ~/developer_key.pem 4096 | |
openssl pkcs8 -topk8 -inform PEM -outform DER -in ~/developer_key.pem -out ~/developer_key.der -nocrypt | |
- name: Build prg file | |
run: | | |
cd widget | |
monkeyc -y ~/developer_key.der -f monkey.jungle -w -o /tmp/output.prg | |
- name: Build iq file | |
run: | | |
cd widget | |
monkeyc -y ~/developer_key.der -f monkey.jungle -w -e -o /tmp/output.iq |