From 795517d597f03a5c847a3d3c998b46c866cc1d8a Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 18 Nov 2023 00:56:58 +0800 Subject: fix artifact path --- .github/workflows/windows.yml | 8 ++++---- .github/workflows/windows_luajit.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c3d21ae65..b89c1a168 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -64,10 +64,10 @@ 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 - (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}} + 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 + (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 .. - name: Tests diff --git a/.github/workflows/windows_luajit.yml b/.github/workflows/windows_luajit.yml index d8f087e3f..f504ce836 100644 --- a/.github/workflows/windows_luajit.yml +++ b/.github/workflows/windows_luajit.yml @@ -53,10 +53,10 @@ 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 - (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}} + 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 + (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 .. - name: Tests -- cgit v1.3.1