Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Indy2222 committed Aug 8, 2023
1 parent bd2ec41 commit 67d0b8f
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/actions/rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,31 @@ inputs:
runs:
using: 'composite'
steps:
- name: 'Linux: Dependencies'
shell: bash
- shell: bash
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y libasound2-dev libudev-dev
- name: 'LFS: File List'
shell: bash
run: 'git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id'
- shell: bash
run: "git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id"

- name: 'LFS: Cache'
uses: actions/cache@v3
- uses: actions/cache@v3
with:
path: .git/lfs
key: rust-lfs-${{ inputs.name }}-${{ hashFiles('.lfs-assets-id') }}-v1

- name: 'LFS: Pull'
shell: bash
- shell: bash
run: git lfs pull

- name: 'Rust: Toolchain'
uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@stable
id: rust-toolchain
with:
components: ${{ inputs.components }}

- name: 'Rust: Versions'
shell: bash
- shell: bash
run: rustc --version && cargo --version

- name: 'Rust: Cache'
uses: actions/cache@v3
- uses: actions/cache@v3
id: rust-cache
with:
path: |
Expand Down

0 comments on commit 67d0b8f

Please sign in to comment.