@@ -28,11 +28,11 @@ jobs:
2828 runs-on : ${{ matrix.targets.os }}
2929 steps :
3030 - name : Checkout
31- uses : actions/checkout@v4
31+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232 - name : Setup
3333 run : rustup target add ${{ matrix.targets.target }}
3434 - name : Build
35- uses : houseabsolute/actions-rust-cross@v1.0.0
35+ uses : houseabsolute/actions-rust-cross@a8cc74d61047fa553b4e908b4b10e70029f00ca6 # v1.0.6
3636 with :
3737 command : build
3838 target : ${{ matrix.targets.target }}
4141 run : echo "RELEASE_VERSION=${GITHUB_REF_NAME#v}" >> ${GITHUB_ENV}
4242 - name : Archive
4343 run : tar -czf serie-${{ env.RELEASE_VERSION }}-${{ matrix.targets.target }}.tar.gz -C target/${{ matrix.targets.target }}/release serie
44- - name : Checksum
45- run : shasum -a 256 serie-${{ env.RELEASE_VERSION }}-${{ matrix.targets.target }}.tar.gz
4644 - name : Upload artifact
47- uses : actions/upload-artifact@v4
45+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4846 with :
4947 name : release-${{ matrix.targets.target }}
5048 path : serie-${{ env.RELEASE_VERSION }}-${{ matrix.targets.target }}.tar.gz
@@ -56,15 +54,13 @@ jobs:
5654 needs : build
5755 steps :
5856 - name : Download artifact
59- uses : actions/download-artifact@v4
57+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
6058 with :
6159 path : releases
6260 pattern : release-*
6361 merge-multiple : true
64- - name : Checksum
65- run : sha256sum releases/* > ./releases/checksum.txt
6662 - name : Create Draft Release
67- uses : softprops/action-gh-release@v2 .0.4
63+ uses : softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3 .0.0
6864 with :
6965 draft : true
7066 generate_release_notes : true
0 commit comments