From 9049775a77087dba61591e25be35a00dca15deda Mon Sep 17 00:00:00 2001 From: Steven van den Broek <30909373+Yvee1@users.noreply.github.com> Date: Fri, 16 Jul 2021 20:08:12 +0200 Subject: [PATCH] Try out Github Actions --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..82a300f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: build +on: [push] +jobs: + build: + runs-on: macos-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Install ghr + run: ./.github/scripts/install-ghr.sh + - name: Install stack + run: ./.github/scripts/install-stack.sh + - run: stack setup + - run: stack build + - run: stack test + - name: Attach binary to release, if this is a release + run: ./.github/scripts/attach-binary.sh