Skip to content

Commit

Permalink
[FB] workflow | Fix Upload Artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
creeper-0910 committed Jan 9, 2025
1 parent 8c0945c commit 33cc1df
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/windows-codesign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 🧬
Expand Down Expand Up @@ -93,20 +93,19 @@ 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
id: publish-unsigned-installer
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
Expand Down

0 comments on commit 33cc1df

Please sign in to comment.