Several updates and improvements #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Python Package and Create Release | |
on: | |
push: | |
tags: | |
- '*.*.*' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install setuptools wheel twine | |
- name: Build package | |
run: | | |
python setup.py sdist bdist_wheel | |
- name: Publish package | |
env: | |
TWINE_USERNAME: __token__ | |
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} | |
run: | | |
python -m twine upload dist/* | |
- name: Create GitHub Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: pbir-utils ${{ github.ref_name }} | |
body: | | |
## Improvements | |
- New Function: | |
- get_measure_dependencies: Gets the dependency tree for given measures or all measures in a Power BI report, optionally including visual IDs. | |
- Updated Function: | |
- remove_measures: check_visual_usage flag now checks usage in dependant measures as well. | |
draft: false | |
prerelease: false |