diff --git a/.github/workflows/make_release.yml b/.github/workflows/make_release.yml index 97f1060b8b..8a4b507a75 100644 --- a/.github/workflows/make_release.yml +++ b/.github/workflows/make_release.yml @@ -35,24 +35,20 @@ jobs: outputs: hash: ${{ steps.hash.outputs.hash }} steps: - - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - name: Prepare package - run: | - cargo package -p tfhe - - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 - with: - name: crate - path: target/package/*.crate - - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 - with: - name: lockfile - path: Cargo.lock - - name: generate hash - id: hash - run: cd target/package && echo "hash=$(sha256sum ./*.crate | base64 -w0)" >> "${GITHUB_OUTPUT}" + - name: Checkout + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - name: Prepare package + run: | + cargo package -p tfhe + - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 + with: + name: crate + path: target/package/*.crate + - name: generate hash + id: hash + run: cd target/package && echo "hash=$(sha256sum ./*.crate | base64 -w0)" >> "${GITHUB_OUTPUT}" provenance: if: ${{ !inputs.dry_run }} @@ -90,10 +86,6 @@ jobs: with: name: crate path: target/package - - name: Download artifact - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 - with: - name: lockfile - name: Publish crate.io package if: ${{ inputs.push_to_crates }} env: