mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
Turns out `commit: master` doesn't really mean latest master, because it's cached. It sometimes works, because when the GHA cache comes from a job that depended on xmonad-0.15, then the master archive isn't cached and is fetched. When the cache comes from a job that previously fetched master, it's not fetched again. The least ugly way to fix it I found is to use the `[<refname>]@{<date>}` git revision format, and substitute current date/time before invoking stack. To make stack-master.yaml valid without the substitution, we use `master@{today}` which is a valid git revision that GitHub understands.
12 lines
180 B
YAML
12 lines
180 B
YAML
# This stack.yaml is used to build xmonad-contrib with master version
|
|
# of xmonad
|
|
|
|
resolver: lts-15.3
|
|
|
|
packages:
|
|
- ./
|
|
|
|
extra-deps:
|
|
- github: xmonad/xmonad
|
|
commit: master@{today}
|