diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 624a629..3e792c2 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -7,6 +7,10 @@ on: description: "GitHub ref to checkout to" type: string default: "master" + cargo-dependencies: + description: "Cargo dependencies map" + type: string + default: "null" outputs: version: description: "snapshot version" @@ -57,6 +61,12 @@ jobs: # to use less space and speed up CI save-if: ${{ github.event_name == 'push' }} + - name: Set dependencies + if: inputs.cargo-dependencies != 'null' + uses: fluencelabs/github-actions/cargo-set-dependency@main + with: + dependencies: ${{ inputs.cargo-dependencies }} + - name: Setup marine uses: fluencelabs/setup-marine@v1 with: