feat: generate version in build workflows

This commit is contained in:
Hintay 2025-02-03 22:04:35 +09:00
parent f213bdf7d6
commit c774359531
No known key found for this signature in database
GPG key ID: 120FC7FF121F2F2D

View file

@ -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