display "invited by" on member page and abstract username component. #23
Workflow file for this run
This file contains hidden or 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: 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-* |