Add elm/bytes to init's elm.json as the lamdera live harness relies o… #100
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
on: | |
push: | |
branches: | |
- distribute | |
- macos | |
- macos-arm64 | |
name: Build MacOS arm64 | |
jobs: | |
build: | |
name: Build MacOS arm64 | |
runs-on: lamdera-community-m1 | |
steps: | |
- name: Install SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.GH_USER_SCP_KEY }} | |
name: id_ed25519 | |
known_hosts: ${{ secrets.KNOWN_HOSTS }} | |
if_key_exists: replace | |
- uses: actions/checkout@v3 | |
- run: echo "${HOME}/.local/bin" >> $GITHUB_PATH | |
- name: Run distribution script | |
run: | | |
test -x "$(which ghcup)" && curl https://downloads.haskell.org/~ghcup/aarch64-apple-darwin-ghcup -o ~/.local/bin/ghcup && chmod a+x ~/.local/bin/ghcup | |
cd distribution | |
./build-macos-arm64.sh |