From 131de5d8fd289166ae90d7bae0a5ef48f474bc84 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Sat, 5 Feb 2022 21:24:17 +0100 Subject: [PATCH] Create crystal.yml --- .github/workflows/crystal.yml | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/crystal.yml diff --git a/.github/workflows/crystal.yml b/.github/workflows/crystal.yml new file mode 100644 index 0000000..8029ea7 --- /dev/null +++ b/.github/workflows/crystal.yml @@ -0,0 +1,36 @@ +name: Crystal CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + container: + image: crystallang/crystal + + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: shards install + - name: Run tests + run: crystal build + + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + body: | + Changes in this Release + - First Change + - Second Change + draft: false + prerelease: false