mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-19 20:57:21 +03:00
9fe56f1f01
* Migrate to github CI * Parallelize GHC builds * Avoid building local packages twice * Prepare for building 9.2.6 * Fix build on darwin M1 9.0.2 * Drop build of windows 9.2.6 due to https://gitlab.haskell.org/ghc/ghc/-/issues/22961 * Drop 9.0.2 for darwin M1 * Fix build on windows by disabling ghc-check pkg ABI check * Use git-archive to create src tarball in upload * Build releases for 9.2.7 * Build src archive in github action * Build on unknown-linux too * Try to build GHC-9.4.4 for unknown linux on Fedora33 * Make sure hls-wrapper binary comes from GHC-8.10.7 --------- Co-authored-by: wz1000 <zubin.duggal@gmail.com>
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
name: Cache eviction
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
key:
|
|
description: Which cache to evict
|
|
required: true
|
|
default: '/'
|
|
type: choice
|
|
options:
|
|
- aarch64-apple-darwin
|
|
- aarch64-linux-ubuntu20
|
|
- x86_64-apple-darwin
|
|
- x86_64-freebsd
|
|
- x86_64-linux-centos7
|
|
- x86_64-linux-deb10
|
|
- x86_64-linux-deb11
|
|
- x86_64-linux-deb9
|
|
- x86_64-linux-fedora27
|
|
- x86_64-linux-fedora33
|
|
- x86_64-linux-mint19.3
|
|
- x86_64-linux-mint20.2
|
|
- x86_64-linux-ubuntu18.04
|
|
- x86_64-linux-ubuntu20.04
|
|
- x86_64-linux-ubuntu22.04
|
|
- /
|
|
jobs:
|
|
evict:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Remove from S3
|
|
uses: vitorsgomes/s3-rm-action@master
|
|
with:
|
|
args: --recursive
|
|
env:
|
|
AWS_S3_ENDPOINT: https://${{ secrets.S3_HOST }}
|
|
AWS_S3_BUCKET: haskell-language-server
|
|
AWS_REGION: us-west-2
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
PATH_TO_DELETE: ${{ github.event.inputs.key }}
|