Skip to content

Commit

Permalink
feat: generate version in build workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Hintay committed Feb 3, 2025
1 parent f213bdf commit c774359
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c774359

Please sign in to comment.