diff options
| -rw-r--r-- | .github/workflows/windows.yml | 8 | ||||
| -rw-r--r-- | .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 |
