Skip to content

fix(MUTE): fixed unavailable mute state constant - closes #18e (thank… #2

fix(MUTE): fixed unavailable mute state constant - closes #18e (thank…

fix(MUTE): fixed unavailable mute state constant - closes #18e (thank… #2

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
jobs:
test:
uses: ./.github/workflows/test.yml
build:
needs: ['test']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- run: |
pip install setuptools wheel
python setup.py sdist bdist_wheel
- uses: actions/upload-artifact@v3
with:
path: ./dist
release:
needs: ['build']
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
draft: false
prerelease: false
make_latest: true
files: artifact/*
pypi-publish:
needs: ['build']
environment:
name: publish
url: https://pypi.org/p/python-samsung-mdc
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
- uses: pypa/gh-action-pypi-publish@release/v1
with:
packages_dir: artifact/