forked from crypto-org-chain/chain-main
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 753 Bytes
/
Copy pathbuildwin.yml
File metadata and controls
35 lines (32 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: BuildWin
on:
pull_request:
merge_group:
push:
branches:
- master
- release/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build For Windows
runs-on: windows-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.25
- name: Normal check out code
uses: actions/checkout@v4
with:
submodules: true
- name: Set GOBIN
run: |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Build For Windows
shell: pwsh
run: |
echo "Working Folder $Env:GITHUB_WORKSPACE"
& "$env:GITHUB_WORKSPACE/makewin.bat"