mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
feat: generate version in build workflows
This commit is contained in:
parent
f213bdf7d6
commit
c774359531
1 changed files with 12 additions and 6 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
@ -142,6 +142,18 @@ jobs:
|
|||
with:
|
||||
go-version: ^1.23.0
|
||||
|
||||
- name: Download app artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: app-dist
|
||||
path: app/dist
|
||||
|
||||
- name: Generate files
|
||||
env:
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
run: go generate
|
||||
|
||||
- name: Setup compiler environment
|
||||
id: info
|
||||
run: |
|
||||
|
@ -182,12 +194,6 @@ jobs:
|
|||
echo "CXX=${{ env.ARCH_NAME }}-clang++" >> $GITHUB_ENV
|
||||
echo "LD_FLAGS=-w" >> $GITHUB_ENV
|
||||
|
||||
- name: Download app artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: app-dist
|
||||
path: app/dist
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir -p dist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue