2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 12:40:25 +08:00

feat: optimize build workflow

This commit is contained in:
耗子
2023-06-25 00:11:16 +08:00
parent c36640c1d8
commit 6bdf850c58
2 changed files with 27 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
goarch: [ amd64, arm64, s390x, loong64 ]
goarch: [ amd64, arm64, s390x ]
fail-fast: true
steps:
- uses: actions/checkout@v3

26
.github/workflows/goreleaser.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 'latest'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}