Skip to content

添加子模块

添加子模块 #1

Workflow file for this run

name: goreleaser
on:
push:
tags:
- 'v*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout main repository
uses: actions/checkout@v2
- name: Initialize submodules
run: git submodule update --init --recursive
- name: Install dependencies and build frontend
working-directory: fionna-web
run: |
npm install
npm run build
- name: Archive built frontend
uses: actions/upload-artifact@v2
with:
name: frontend
path: fionna-web/dist # Adjust the path based on your build output
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist --skip-validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}