Skip to content

Commit

Permalink
Cache tools. Only upload Pythia's build on master
Browse files Browse the repository at this point in the history
  • Loading branch information
overfl0 committed Sep 16, 2021
1 parent 39ddd3a commit cd80c63
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v2

- name: Cache tools
uses: actions/cache@v2
with:
path: tools/cache
key: tools_cache

- name: Download the DLLs
uses: actions/download-artifact@v2
with:
Expand All @@ -58,6 +64,7 @@ jobs:
- run: python tools\rebuild_all.py

- uses: actions/upload-artifact@v2
if: ${{ github.ref == 'refs/heads/master' }}
with:
name: Pythia
path: "@Pythia.zip"
Expand Down

0 comments on commit cd80c63

Please # to comment.