@@ -707,17 +707,41 @@ jobs:
707
707
- name : run tests
708
708
run : ctest --output-on-failure
709
709
710
+ - if : github.event_name == 'push' && github.repository == 'fastfetch-cli/fastfetch'
711
+ id : upload-unsigned-artifact
712
+ name : upload artifacts for signing
713
+ uses : actions/upload-artifact@v4
714
+ with :
715
+ name : fastfetch-windows-${{ matrix.arch }}
716
+ path : |
717
+ *.dll
718
+ fastfetch.exe
719
+ flashfetch.exe
720
+
721
+ - if : github.event_name == 'push' && github.repository == 'fastfetch-cli/fastfetch'
722
+ name : submit signing request
723
+ uses : signpath/github-action-submit-signing-request@v1
724
+ with :
725
+ api-token : ' ${{ secrets.SIGNPATH_API_TOKEN }}'
726
+ organization-id : ' ${{ vars.SIGNPATH_ORG_ID }}'
727
+ project-slug : ' fastfetch'
728
+ signing-policy-slug : ' test-signing'
729
+ github-artifact-id : ' ${{ steps.upload-unsigned-artifact.outputs.artifact-id }}'
730
+ wait-for-completion : true
731
+ output-artifact-directory : ' .'
732
+
710
733
- name : create zip archive
711
734
run : 7z a -tzip -mx9 -bd -y fastfetch-windows-${{ matrix.arch }}.zip LICENSE *.dll fastfetch.exe flashfetch.exe presets
712
735
713
736
- name : create 7z archive
714
737
run : 7z a -t7z -mx9 -bd -y fastfetch-windows-${{ matrix.arch }}.7z LICENSE *.dll fastfetch.exe flashfetch.exe presets
715
738
716
- - name : upload artifacts
739
+ - name : upload true artifacts
717
740
uses : actions/upload-artifact@v4
718
741
with :
719
742
name : fastfetch-windows-${{ matrix.arch }}
720
743
path : ./fastfetch-windows-${{ matrix.arch }}.*
744
+ overwrite : true
721
745
722
746
release :
723
747
if : github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'fastfetch-cli/fastfetch'
0 commit comments