feat: text button及outlined button #6
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: Dev Build | |
on: | |
push: | |
branches: | |
- dev | |
- main | |
pull_request: | |
branches: | |
- dev | |
- main | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
arch: [amd64, arm64] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18" | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 8.10.2 | |
- name: Install Dependencies | |
run: make install-dev | |
- name: Set GOARCH for AMD64 | |
if: matrix.arch == 'amd64' | |
run: echo "GOARCH=amd64" >> $GITHUB_ENV | |
- name: Set GOARCH for ARM64 | |
if: matrix.arch == 'arm64' | |
run: echo "GOARCH=arm64" >> $GITHUB_ENV | |
- name: Build | |
run: make | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.os }}-${{ matrix.arch }} | |
path: bin/reblog |