@@ -762,3 +762,71 @@ jobs:
762
762
release : " any-version"
763
763
republish : " true"
764
764
file : " target/artifacts/vector-${{ env.VECTOR_VERSION }}-1.armv7hl.rpm"
765
+
766
+ generate-sha256sum :
767
+ name : Generate SHA256 checksums
768
+ runs-on : ubuntu-20.04
769
+ needs :
770
+ - generate-publish-metadata
771
+ - build-x86_64-unknown-linux-gnu-packages
772
+ - build-x86_64-unknown-linux-musl-packages
773
+ - build-aarch64-unknown-linux-musl-packages
774
+ - build-aarch64-unknown-linux-gnu-packages
775
+ - build-x86_64-apple-darwin-packages
776
+ - build-x86_64-pc-windows-msvc-packages
777
+ - build-armv7-unknown-linux-gnueabihf-packages
778
+ - build-armv7-unknown-linux-musleabihf-packages
779
+ env :
780
+ VECTOR_VERSION : ${{ needs.generate-publish-metadata.outputs.vector_version }}
781
+ steps :
782
+ - name : Checkout Vector
783
+ uses : actions/checkout@v3
784
+ with :
785
+ ref : ${{ inputs.git_ref }}
786
+ - name : Download staged package artifacts (aarch64-unknown-linux-gnu)
787
+ uses : actions/download-artifact@v3
788
+ with :
789
+ name : vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-gnu
790
+ path : target/artifacts
791
+ - name : Download staged package artifacts (aarch64-unknown-linux-musl)
792
+ uses : actions/download-artifact@v3
793
+ with :
794
+ name : vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-musl
795
+ path : target/artifacts
796
+ - name : Download staged package artifacts (x86_64-unknown-linux-gnu)
797
+ uses : actions/download-artifact@v3
798
+ with :
799
+ name : vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu
800
+ path : target/artifacts
801
+ - name : Download staged package artifacts (x86_64-unknown-linux-musl)
802
+ uses : actions/download-artifact@v3
803
+ with :
804
+ name : vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-musl
805
+ path : target/artifacts
806
+ - name : Download staged package artifacts (x86_64-apple-darwin)
807
+ uses : actions/download-artifact@v3
808
+ with :
809
+ name : vector-${{ env.VECTOR_VERSION }}-x86_64-apple-darwin
810
+ path : target/artifacts
811
+ - name : Download staged package artifacts (x86_64-pc-windows-msvc)
812
+ uses : actions/download-artifact@v3
813
+ with :
814
+ name : vector-${{ env.VECTOR_VERSION }}-x86_64-pc-windows-msvc
815
+ path : target/artifacts
816
+ - name : Download staged package artifacts (armv7-unknown-linux-gnueabihf)
817
+ uses : actions/download-artifact@v3
818
+ with :
819
+ name : vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-gnueabihf
820
+ path : target/artifacts
821
+ - name : Download staged package artifacts (armv7-unknown-linux-musleabihf)
822
+ uses : actions/download-artifact@v3
823
+ with :
824
+ name : vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-musleabihf
825
+ path : target/artifacts
826
+ - name : Generate SHA256 checksums for artifacts
827
+ run : make sha256sum
828
+ - name : Stage checksum for publish
829
+ uses : actions/upload-artifact@v3
830
+ with :
831
+ name : vector-${{ env.VECTOR_VERSION }}-SHA256SUMS
832
+ path : target/artifacts/vector-${{ env.VECTOR_VERSION }}-SHA256SUMS
0 commit comments