File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: build-and-release
22
33on :
44 push :
5- tags :
6- - " v*.*.*"
5+ # tags:
6+ # - "v*.*.*"
77
88jobs :
99 build :
@@ -45,14 +45,13 @@ jobs:
4545
4646 - name : prep windows
4747 if : ${{ matrix.os == 'windows' }}
48- run : mkdir ./artifact && cp -r ./build/win_amd64/ ./artifact/build
49-
50- - name : link windows
51- if : ${{ matrix.os == 'windows' }}
52- run : New-Item -ItemType SymbolicLink -Path ./artifact/build/ flow.exe -Target ./artifact/flow.exe
48+ run : |
49+ New-Item -ItemType Directory -Path artifact;
50+ Copy-Item -Path .\build\win_amd64\* -Destination .\artifact\build -Recurse;
51+ Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ConsentPromptBehaviorAdmin" -Value 00000000 -Force
52+ New-Item -ItemType SymbolicLink -Path ./artifact/flow.exe -Target ./artifact/build/ flow.exe -RunAsAdmin;
5353 shell : pwsh
5454
55-
5655 - uses : actions/upload-artifact@v4
5756 with :
5857 name : flow_${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments