Skip to content

Commit

Permalink
(build) Update caching and branches
Browse files Browse the repository at this point in the history
Limit the execution of the action to only GitFlow branches.
Cache the NuGet Packages folder between runs.
  • Loading branch information
gep13 committed Mar 4, 2022
1 parent 3fc2491 commit 0e09a99
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ name: Build

on:
push:
branches:
- master
- develop
- "feature/**"
- "release/**"
- "hotfix/**"
tags:
- "*"
pull_request:

# Allows you to run this workflow manually from the Actions tab
Expand All @@ -21,7 +29,9 @@ jobs:
- name: Cache Tools
uses: actions/cache@v2
with:
path: tools
path: |
tools
Source/packages
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}

- name: Build project
Expand Down

0 comments on commit 0e09a99

Please sign in to comment.