Skip to content

Commit 4f3816c

Browse files
authored
Merge pull request #183 from haskell-works/improve-ci
Build in Github Actions
2 parents 5e61094 + f2420be commit 4f3816c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/haskell.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ jobs:
5656
with:
5757
args: |
5858
sync-from-archive \
59-
--threads "$BINARY_CACHE_THREADS" \
60-
--archive-uri "$BINARY_CACHE_URI" \
61-
--region "$BINARY_CACHE_REGION" \
59+
--threads "${BINARY_CACHE_THREADS-4}" \
60+
--archive-uri "${BINARY_CACHE_URI-'http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive'}" \
61+
--region "${BINARY_CACHE_REGION-'us-west-2'}" \
6262
--store-path "${{ steps.setup-haskell.outputs.cabal-store }}"
6363
6464
- name: Build
@@ -83,9 +83,9 @@ jobs:
8383
with:
8484
args: |
8585
sync-to-archive \
86-
--threads "$BINARY_CACHE_THREADS" \
87-
--archive-uri "$BINARY_CACHE_URI" \
88-
--region "$BINARY_CACHE_REGION" \
86+
--threads "${BINARY_CACHE_THREADS-4}" \
87+
--archive-uri "${BINARY_CACHE_URI-'http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive'}" \
88+
--region "${BINARY_CACHE_REGION-'us-west-2'}" \
8989
--store-path "${{ steps.setup-haskell.outputs.cabal-store }}"
9090
9191
check:

0 commit comments

Comments
 (0)