summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/windows.yml3
-rw-r--r--.github/workflows/windows_luajit.yml3
2 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index b89c1a168..8a542fb49 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -64,8 +64,7 @@ jobs:
- name: Artifact
run: |
cd core
- xmake pack -vD --formats=nsis --autobuild=n -o ../artifacts/${{env.RELEASE_NAME}} --basename=xmake
- xmake pack -vD --formats=zip --autobuild=n -o ../artifacts/${{env.RELEASE_NAME}} --basename=xmake
+ xmake pack -vD --formats=nsis,zip --autobuild=n -o ../artifacts/${{env.RELEASE_NAME}} --basename=xmake
(Get-FileHash ../artifacts/${{env.RELEASE_NAME}}/xmake.zip -Algorithm SHA256).Hash.ToLower() + " *xmake.zip`n" | Out-File ./shafile -Encoding ASCII -NoNewLine -Append
Copy-Item shafile ../artifacts/${{env.RELEASE_NAME}}
cd ..
diff --git a/.github/workflows/windows_luajit.yml b/.github/workflows/windows_luajit.yml
index f504ce836..7e4d34b63 100644
--- a/.github/workflows/windows_luajit.yml
+++ b/.github/workflows/windows_luajit.yml
@@ -53,8 +53,7 @@ jobs:
- name: Artifact
run: |
cd core
- xmake pack -vD --formats=nsis --autobuild=n -o ../artifacts/${{env.RELEASE_NAME}} --basename=xmake
- xmake pack -vD --formats=zip --autobuild=n -o ../artifacts/${{env.RELEASE_NAME}} --basename=xmake
+ xmake pack -vD --formats=nsis,zip --autobuild=n -o ../artifacts/${{env.RELEASE_NAME}} --basename=xmake
(Get-FileHash ../artifacts/${{env.RELEASE_NAME}}/xmake.zip -Algorithm SHA256).Hash.ToLower() + " *xmake.zip`n" | Out-File ./shafile -Encoding ASCII -NoNewLine -Append
Copy-Item shafile ../artifacts/${{env.RELEASE_NAME}}
cd ..