Skip to content

Version bump, CI fixes #91

Version bump, CI fixes

Version bump, CI fixes #91

on:
push:
branches:
- distribute
- linux
- linux-arm64
name: Build Linux arm64
jobs:
build:
name: Build Linux arm64
runs-on: ubuntu-24.04-arm
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: Create cache directory
run: mkdir -p ${{ github.workspace }}/user-build-cache/linux-arm64
- name: Cache Cabal/Stack build artifacts
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/user-build-cache/linux-arm64
key: linux-arm64-cabal-${{ hashFiles('cabal.project.freeze') }}
restore-keys: |
linux-arm64-cabal-
- name: Install git submodules
run: git submodule update --init --recursive
- name: Run distribution script
run: |
cd distribution
./build-linux-arm64-musl.sh