Skip to content

Commit

Permalink
ci: Cache changelog requests (#1671)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Dec 30, 2019
1 parent f0f8902 commit 6234558
Show file tree
Hide file tree
Showing 2 changed files with 250 additions and 136 deletions.
10 changes: 8 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,14 @@ jobs:
- checkout
- run: gem install github_changelog_generator -v 1.14.3
- run: sudo npm i -g doctoc
- run: github_changelog_generator -u ory -p hydra -o CHANGELOG.md --token $GITHUB_TOKEN
- restore_cache:
keys:
- changelog-v1
- run: github_changelog_generator -u ory -p hydra -o CHANGELOG.md --token $GITHUB_TOKEN --cache-file /tmp/github_changelog_generator
- save_cache:
key: changelog-v1
paths:
- "/tmp/github_changelog_generator"
- run: doctoc CHANGELOG.md
- run: git config --global user.email "office+ci@ory.sh"
- run: git config --global user.name "ORY Continuous Integration"
Expand Down Expand Up @@ -478,7 +485,6 @@ workflows:
requires:
- test
- format
- release-sdk
filters:
tags:
only: /.*/
Expand Down

0 comments on commit 6234558

Please sign in to comment.