We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12764a8 commit d0f20edCopy full SHA for d0f20ed
1 file changed
.github/workflows/publish.yml
@@ -17,6 +17,24 @@ jobs:
17
- name: Checkout repository
18
uses: actions/checkout@v2
19
20
+ - name: Cache cargo bin
21
+ id: cache-cargo
22
+ uses: actions/cache@v3
23
+ env:
24
+ cache-name: cache-cargo-bin
25
+ with:
26
+ path: ~/.cargo/bin
27
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('scripts/install.sh') }}
28
+ restore-keys: |
29
+ ${{ runner.os }}-build-${{ env.cache-name }}-
30
+ ${{ runner.os }}-build-
31
+ ${{ runner.os }}-
32
+
33
+ - if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }}
34
+ name: Run install script
35
+ continue-on-error: false
36
+ run: bash scripts/install.sh
37
38
- name: Run build script
39
run: bash scripts/build.sh
40
0 commit comments