mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-20 17:28:54 +00:00
Need a different cache for release builds
This commit is contained in:
parent
bf32d298d1
commit
a3bc131525
1 changed files with 4 additions and 5 deletions
9
.github/workflows/deploy.yml
vendored
9
.github/workflows/deploy.yml
vendored
|
@ -1,9 +1,8 @@
|
|||
name: Deploy
|
||||
|
||||
# on:
|
||||
# push:
|
||||
# branches: [ master ]
|
||||
on: [ push ]
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
|
@ -20,7 +19,7 @@ jobs:
|
|||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: ${{ runner.os }}-rust-release-${{ hashFiles('**/Cargo.lock') }}
|
||||
- name: Build release
|
||||
run: cargo build --release
|
||||
- name: Upload binary
|
||||
|
|
Loading…
Add table
Reference in a new issue