diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e18fce6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,24 @@ +name: Release +on: + push: + tags: + - v* +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +jobs: + Release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: "3.10" + - name: Build artifacts + run: | + pip install -q wheel + python setup.py sdist bdist_wheel + - name: Create release + uses: softprops/action-gh-release@v1 + with: + files: dist/* diff --git a/.github/workflows/github-actions.yml b/.github/workflows/test.yml similarity index 100% rename from .github/workflows/github-actions.yml rename to .github/workflows/test.yml