mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 05:29:51 +00:00
Merge branch 'usual2970:main' into main
This commit is contained in:
commit
dcd646b465
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Base Build
|
name: Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -22,13 +22,22 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ">=1.24.0"
|
go-version-file: "go.mod"
|
||||||
|
|
||||||
- name: Build WebUI
|
- name: Build WebUI
|
||||||
run: npm --prefix=./ui ci && npm --prefix=./ui run build
|
run: |
|
||||||
|
npm --prefix=./ui ci
|
||||||
|
npm --prefix=./ui run build
|
||||||
|
npm cache clean --force
|
||||||
|
rm -rf ./ui/node_modules
|
||||||
|
|
||||||
|
- name: Check disk usage
|
||||||
|
run: |
|
||||||
|
df -h
|
||||||
|
du -sh /opt/hostedtoolcache/go/*
|
||||||
|
|
||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v3
|
uses: goreleaser/goreleaser-action@v5
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: latest
|
version: latest
|
||||||
|
@ -36,7 +36,7 @@ release:
|
|||||||
archives:
|
archives:
|
||||||
- id: archive_noncgo
|
- id: archive_noncgo
|
||||||
builds: [build_noncgo]
|
builds: [build_noncgo]
|
||||||
format: zip
|
format: "zip"
|
||||||
files:
|
files:
|
||||||
- CHANGELOG.md
|
- CHANGELOG.md
|
||||||
- LICENSE.md
|
- LICENSE.md
|
||||||
|
Loading…
x
Reference in New Issue
Block a user