From 2e621d14997f61ab5be40954d75a6bdb828f79d0 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 16 Jun 2022 08:29:29 +0300 Subject: [PATCH] Add GitHub Actions workflow for building packages --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 000000000..7c6a99071 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: CI +"on": + push: + branches: + - master + pull_request: + branches: + - master +jobs: + Build: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" + cache: "pip" + cache-dependency-path: "**/setup.py" + - run: pip install build -e . + - run: make import-cldr + - run: python -m build + - uses: actions/upload-artifact@v3 + with: + name: dist + path: dist