From 7f427a4e1092e8d7c19b1d581001396887acf8ce Mon Sep 17 00:00:00 2001 From: Marcus Lampert Date: Wed, 3 Jul 2024 11:10:54 +0200 Subject: [PATCH] Add release CI --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2a4299d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: Release +# Modelled on https://github.com/OpenGreekAndLatin/First1KGreek/blob/master/.github/workflows/ci.yml + +on: + push: + # Dispatch when pushing to default branch; currently `main` + branches: + - main + # Dispatch on pull requests + pull_request: +jobs: + create_release: + name: Create release + runs-on: ubuntu-latest + env: + MAJOR_VERSION: 0 + MINOR_VERSION: 0 + steps: + - name: Create release + uses: ncipollo/release-action@v1 + with: + tag: ${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}.${{ github.run_id }} \ No newline at end of file