Skip to content

Commit fa83f1e

Browse files
build
1 parent 43a226d commit fa83f1e

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/game-build-and-publish.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: build-and-release
22

33
on:
44
push:
5-
tags:
6-
- "v*.*.*"
5+
#tags:
6+
#- "v*.*.*"
77

88
jobs:
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 }}

0 commit comments

Comments
 (0)