-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a
cache
action to cache HLS artifacts (#17)
* Document `iog-full` input of `devx` action * Create a `cache` action to cache HLS artifacts This is used to speed up GitHub Codespaces bootstrapping
- Loading branch information
1 parent
d0a90d0
commit 8e9d370
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: 'Cache HLS artifacts' | ||
description: 'This is used to speed up GitHub Codespaces bootstrapping' | ||
inputs: | ||
ghc_version: | ||
description: GHC version used (cache is per-commit and per-GHC version) | ||
type: string | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Cache build artifacts (used to speed up GitHub Codespaces bootstrapping) | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: cache-${{ github.event.pull_request.head.sha }}-${{ inputs.ghc_version }} | ||
path: | | ||
./dist-newstyle |