feat: 大幅优化移动端体验 #155
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: Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
cache: true | |
go-version: 'stable' | |
- name: Wait for frontend build | |
uses: lewagon/[email protected] | |
with: | |
ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
check-name: 'build (frontend)' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Download frontend | |
uses: dawidd6/action-download-artifact@v6 | |
with: | |
workflow: frontend.yml | |
name: frontend | |
path: internal/embed/frontend | |
check_artifacts: true | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
version: latest | |
args: release --clean | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |