Skip to content

Commit 1957c80

Browse files
committed
[FB] workflow | Fix Upload Artifact
1 parent 8c0945c commit 1957c80

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/windows-codesign.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
C:\ProgramData\chocolatey\bin\7z.exe x C:\artifact\floorp-stub.installer.exe -oC:\unsigned\stub
5656
5757
# rename stub installer
58-
mv C:\unsigned\stub\setup-stub.exe ./floorp-stub.installer.exe
58+
mv C:\unsigned\stub\setup-stub.exe C:\unsigned\stub\floorp-stub.installer.exe
5959
6060
- uses: actions/checkout@v4
6161
name: Clone 🧬
@@ -93,20 +93,19 @@ jobs:
9393
9494
- name: Create Repackaged Artifact
9595
run: |
96-
cd Floorp-Repackage/Floorp-work
96+
cd Floorp-Repackage/Floorp-work/core
9797
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
9898
cd ..\
99-
copy /B 7zSD.sfx+ "app.tag" + "Floorp-work\app.7z" "floorp-win64.installer.exe"
99+
copy /B 7zSD.sfx+ "app.tag" + "Floorp-work\app.7z" "C:\unsigned\stub\floorp-win64.installer.exe"
100+
100101
shell: cmd
101102

102103
- name: Publish Unsigned Installer
103104
id: publish-unsigned-installer
104105
uses: actions/upload-artifact@v4
105106
with:
106107
name: floorp-windows-${{fromJson('["x86","aarch"]')[inputs.arch]}}_64-package-unsigned-installer
107-
path: |
108-
Floorp-Repackage/floorp-win64.installer.exe
109-
floorp-stub.installer.exe
108+
path: C:\unsigned\stub
110109

111110
- name: Sign Installers 🖊️
112111
id: Sign-Installers
@@ -125,7 +124,7 @@ jobs:
125124
uses: actions/upload-artifact@v4
126125
with:
127126
name: floorp-windows-${{fromJson('["x86","aarch"]')[inputs.arch]}}_64-package-signed
128-
path: signed_installers
127+
path: signed_output
129128

130129
- name: Publish Signed Installer
131130
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)