Skip to content

Commit

Permalink
Run CI on pushes and PRs; Fix restore-key (paritytech#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshOrndorff authored Oct 21, 2020
1 parent e56ece5 commit ef43de6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Release

on: ['push']
on:
pull_request:
branches:
- master
push:
branches:
- master

env:
WASM_BUILD_TOOLCHAIN: nightly-2020-07-20
Expand Down Expand Up @@ -67,7 +73,7 @@ jobs:
node/standalone/target
key: ${{ runner.OS }}-build-${{ env.WASM_BUILD_TOOLCHAIN }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.OS }}-build--${{ env.WASM_BUILD_TOOLCHAIN }}
${{ runner.OS }}-build-${{ env.WASM_BUILD_TOOLCHAIN }}
-
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit ef43de6

Please sign in to comment.