-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
…ons. (#69) * Update dependencies to 3.12 Python 3.12 Conda for Linux numpy matplotlib python-telegram-bot * Fix matplotlib FigureCanvasTkAgg method move * Fix types in _update_specgram * Update deps for windows * Update version * Upper versions for dependencies. * Update config for scrutinizer * Update to work with Miniforge3 on Raspberry OS 64-bit. * Modify scripts to auto install miniforge3 if on aarch64. * Tweak miniforge3 install code. * Undo suppression of logo. * Update to MacOS with 3.12 + try avoid if conda in etc directory * Update docs * Add workflow: add python package to release --------- Co-authored-by: John Kline <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Works only if github.event.release.tag_name == package version | ||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: python -m build | ||
- name: Deploy package | ||
run: | | ||
cd ${{github.workspace}}/dist | ||
gh release upload ${{github.event.release.tag_name}} rsudp-${{github.event.release.tag_name}}-py3-none-any.whl | ||
gh release upload ${{github.event.release.tag_name}} rsudp-${{github.event.release.tag_name}}.tar.gz | ||
env: | ||
GITHUB_TOKEN: ${{ github.TOKEN }} | ||
shell: bash |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.