Skip to content

add new argument to not watch the copied folders (#28) #18

add new argument to not watch the copied folders (#28)

add new argument to not watch the copied folders (#28) #18

Workflow file for this run

name: publish
on:
workflow_dispatch:
push:
tags:
- v**
jobs:
build-n-publish:
name: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.7"
- name: Install pypa/build
run: python -m pip install build --user
- name: determine version
uses: mtkennerly/dunamai-action@v1
with:
env-var: VERSION
args: --style semver
- run: echo using tagged version $VERSION
- name: Build
run: python -m build --sdist --wheel --outdir dist/
- name: push to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.LIVESYNC_PYPI_API_TOKEN }}
- name: Create release
uses: actions/create-release@v1
id: create_release
with:
draft: false
prerelease: false
release_name: ${{ env.VERSION }}
tag_name: v${{ env.VERSION }}
env:
GITHUB_TOKEN: ${{ github.token }}