mirror of https://code.forgejo.org/forgejo/runner
Merge pull request 'Include tag version number in windows runners' (#318) from windows/runner:main into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/318 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>pull/319/head
commit
1b688b7c5e
|
@ -19,7 +19,9 @@ jobs:
|
||||||
- name: Build for ${{matrix.architecture}}
|
- name: Build for ${{matrix.architecture}}
|
||||||
run: |
|
run: |
|
||||||
env GOOS=windows GOARCH=${{matrix.architecture}} \
|
env GOOS=windows GOARCH=${{matrix.architecture}} \
|
||||||
go build -o forgejo-runner-windows-${{matrix.architecture}}.exe
|
go build \
|
||||||
|
-ldflags "-s -w -X gitea.com/gitea/act_runner/internal/pkg/ver.version=${{ github.ref_name }}" \
|
||||||
|
-o forgejo-runner-windows-${{matrix.architecture}}.exe
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue