Skip to content

Commit

Permalink
Upload Cargo.lock during build (#774)
Browse files Browse the repository at this point in the history
* Test with uploading Cargo.lock

* Update with Cargo.lock to use

* Re-activate check for scheduled build
  • Loading branch information
Niederb authored Jun 10, 2024
1 parent 3a63a45 commit 9336865
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ jobs:
if: ${{ github.event_name == 'schedule' }}
run: cargo update

- name: Upload Cargo.lock
uses: actions/upload-artifact@v4
# Upload the Cargo.lock from the build with --locked as this one should not update the Cargo.lock anymore
if: contains(matrix.check, '--locked')
with:
name: cargo-lock
path: Cargo.lock

- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.check }}
Expand Down Expand Up @@ -235,6 +243,5 @@ jobs:
uses: actions/upload-artifact/merge@v4
with:
separate-directories: true
name: examples
pattern: examples-*
name: artifacts
delete-merged: true

0 comments on commit 9336865

Please sign in to comment.