diff options
| author | ruki <[email protected]> | 2023-11-18 00:51:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-20 10:45:21 +0800 |
| commit | 58541b5738dad8f66ee1ec3317c9aa2ce5b94fff (patch) | |
| tree | c24e1f1ecca2b08797cfe750f4f0e25cd0dff5b7 | |
| parent | d404c21e98b16caccd783280e2ff06dab227a9d7 (diff) | |
fix ci
| -rw-r--r-- | .github/workflows/windows.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/windows_luajit.yml | 15 |
2 files changed, 4 insertions, 15 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 83cb1c9c1..c3d21ae65 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -64,8 +64,8 @@ jobs: - name: Artifact run: | cd core - xmake pack -vD --formats=nsis --autobuild=n -o ./artifacts/${{env.RELEASE_NAME}} --basename=xmake.exe - xmake pack -vD --formats=zip --autobuild=n -o ./artifacts/${{env.RELEASE_NAME}} --basename=xmake.zip + 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 .. diff --git a/.github/workflows/windows_luajit.yml b/.github/workflows/windows_luajit.yml index 8b715a260..d8f087e3f 100644 --- a/.github/workflows/windows_luajit.yml +++ b/.github/workflows/windows_luajit.yml @@ -35,17 +35,6 @@ jobs: - uses: little-core-labs/[email protected] id: tagName - - name: Prepare - run: | - xmake show - curl -fsSL "https://github.com/xmake-mirror/nsis/releases/download/v309/nsis-3.09.zip" -o ./nsis.zip - curl -fsSL "https://github.com/xmake-mirror/nsis/releases/download/v309/nsis-3.09-strlen_8192.zip" -o ./nsis-longstr.zip - curl -fsSL "https://github.com/xmake-mirror/nsis/releases/download/v309/UAC.zip" -o ./nsis-uac.zip - Expand-Archive ./nsis.zip -DestinationPath ./nsis - Expand-Archive ./nsis-longstr.zip -DestinationPath ./nsis -Force - Expand-Archive ./nsis-uac.zip -DestinationPath ./nsis -Force - Move-Item ./nsis/UAC.nsh ./nsis/Include/ - - name: Set release arch name run: | if ("${{ matrix.arch }}" -eq "x64") { @@ -64,8 +53,8 @@ jobs: - name: Artifact run: | cd core - xmake pack -vD --formats=nsis --autobuild=n -o ./artifacts/${{env.RELEASE_NAME}} --basename=xmake.exe - xmake pack -vD --formats=zip --autobuild=n -o ./artifacts/${{env.RELEASE_NAME}} --basename=xmake.zip + 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 .. |
