-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Add pruning back into workflows (#1143)
* Update build_docs.yml * Update prune with ci.yml * ADD: add prune command to pypi release * ADD: Add upload to pypi back in
- Loading branch information
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,10 @@ jobs: | |
mamba install -c conda-forge trmm_rsl | ||
export RSL_PATH=${{ env.CONDA_PKGS_DIR }}/trmm_rsl-1.49-3 | ||
- name: Fetch all history for all tags and branches | ||
run: | | ||
git fetch --prune --unshallow | ||
- name: Install pip dependencies | ||
env: | ||
RSL_PATH: ${{ env.CONDA_PKGS_DIR }}/trmm_rsl-1.49-3 | ||
|
@@ -88,3 +92,18 @@ jobs: | |
python -m pip install wheel setuptools | ||
python -m pip install dist/arm_pyart*.whl | ||
python -c "import pyart; print(pyart.__version__)" | ||
upload-to-pypi: | ||
needs: test-built-dist | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: releases | ||
path: dist | ||
- name: Publish package to PyPI | ||
uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_TOKEN }} | ||
verbose: true |