From 33cc1df65108620fd1aae028b687874411625be7 Mon Sep 17 00:00:00 2001 From: creeper-0910 <56744841+creeper-0910@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:22:10 +0900 Subject: [PATCH] [FB] workflow | Fix Upload Artifact --- .github/workflows/windows-codesign.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/windows-codesign.yml b/.github/workflows/windows-codesign.yml index b9d0be4563e8..b9e5fdb3ed78 100644 --- a/.github/workflows/windows-codesign.yml +++ b/.github/workflows/windows-codesign.yml @@ -55,7 +55,7 @@ jobs: C:\ProgramData\chocolatey\bin\7z.exe x C:\artifact\floorp-stub.installer.exe -oC:\unsigned\stub # rename stub installer - mv C:\unsigned\stub\setup-stub.exe ./floorp-stub.installer.exe + mv C:\unsigned\stub\setup-stub.exe C:\unsigned\stub\floorp-stub.installer.exe - uses: actions/checkout@v4 name: Clone 🧬 @@ -93,10 +93,11 @@ jobs: - name: Create Repackaged Artifact run: | - cd Floorp-Repackage/Floorp-work + cd Floorp-Repackage/Floorp-work/core C:\Program Files\7-Zip\7z.exe a -r -t7z app.7z -mx -m0=BCJ2 -m1=LZMA:d24 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3 cd ..\ - copy /B 7zSD.sfx+ "app.tag" + "Floorp-work\app.7z" "floorp-win64.installer.exe" + copy /B 7zSD.sfx+ "app.tag" + "Floorp-work\app.7z" "C:\unsigned\stub\floorp-win64.installer.exe" + shell: cmd - name: Publish Unsigned Installer @@ -104,9 +105,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: floorp-windows-${{fromJson('["x86","aarch"]')[inputs.arch]}}_64-package-unsigned-installer - path: | - Floorp-Repackage/floorp-win64.installer.exe - floorp-stub.installer.exe + path: C:\unsigned\stub - name: Sign Installers 🖊️ id: Sign-Installers