From 6753ac9599b19292dcddc114f9ab5b5ad5a8d2cc Mon Sep 17 00:00:00 2001 From: Kimiyuki Onaka Date: Wed, 28 Jul 2021 18:01:09 +0900 Subject: [PATCH] ci: Upload to Hackage via GitHub Actions --- .github/workflows/upload-hackage.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/upload-hackage.yml diff --git a/.github/workflows/upload-hackage.yml b/.github/workflows/upload-hackage.yml new file mode 100644 index 00000000..763d8718 --- /dev/null +++ b/.github/workflows/upload-hackage.yml @@ -0,0 +1,15 @@ +name: upload-hackage + +on: + release: + types: [published] + +jobs: + upload-hackage: + runs-on: ubuntu-latest + env: + # Can be created at https://hackage.haskell.org/user/{username}/manage + HACKAGE_API_KEY: ${{ secrets.HACKAGE_API_KEY }} + steps: + - uses: actions/checkout@v2 + - uses: freckle/stack-upload-action@main