Skip to content

display "invited by" on member page and abstract username component. #23

display "invited by" on member page and abstract username component.

display "invited by" on member page and abstract username component. #23

Workflow file for this run

name: build and release
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
build:
name: Build binaries and create release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Install musl and musl-gcc
run: sudo apt-get update && sudo apt-get install -y musl-tools
- name: Install ARM cross-compiler
run: sudo apt-get install -y gcc-aarch64-linux-gnu
- name: Get templ version
run: echo "TEMPL_VERSION=$(grep 'github.com/a-h/templ' go.mod | awk '{print $2}')" >> $GITHUB_ENV
- name: Install templ
run: go install github.com/a-h/templ/cmd/templ@${{ env.TEMPL_VERSION }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '25'
- name: Install Nodejs dependencies (Tailwind)
run: npm install
- uses: extractions/setup-just@v2
- name: Build amd64 binary
run: |
just build
mv pyramid-exe pyramid-amd64
- name: Build arm64 binary
run: |
just build aarch64-linux-gnu-gcc arm64
mv pyramid-exe pyramid-arm64
- name: Create release
uses: softprops/action-gh-release@v2
with:
files: pyramid-*