From e71027270fa012f282f23d594443fe3c75c9a0b3 Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Mon, 10 May 2021 14:30:11 -0400 Subject: [PATCH] Add tag Job to CI --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21cc593..b6335ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,3 +30,15 @@ jobs: stack-yaml: ${{ matrix.stack-yaml }} stack-arguments: --flag yesod-auth-oauth2:example weeder: false + + tag: + runs-on: ubuntu-latest + + if: ${{ github.ref == 'refs/heads/main' }} + needs: [test] + + steps: + - uses: actions/checkout@v2 + - env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: freckle/haskell-tag@v1