Skip to content

Commit

Permalink
Correction de la copie des images de documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolite committed Mar 10, 2023
1 parent c7072d6 commit 6c35de4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
cache: 'pip'
cache-dependency-path: '**/pyproject.toml'

- name: Install system dependencies
run: |
sudo apt update
sudo apt -y install python3-rados python3-gdal
# - name: Install system dependencies
# run: |
# sudo apt update
# sudo apt -y install python3-rados python3-gdal

- name: Install python dependencies
run: |
Expand All @@ -71,19 +71,19 @@ jobs:
bump2version --current-version 0.0.0 --new-version ${{ github.ref_name }} patch pyproject.toml src/rok4_tools/__init__.py
- name: Build package
if: "(${{ matrix.os }}=='ubuntu-20.04')&&(${{ matrix.python-version }}=='3.8')"
if: "always()&&(${{ matrix.os }}=='ubuntu-20.04')&&(${{ matrix.python-version }}=='3.8')"
run: |
source .venv/bin/activate
python3 -m build
- name: Copy documentation
if: "(${{ matrix.os }}=='ubuntu-20.04')&&(${{ matrix.python-version }}=='3.8')"
if: "always()&&(${{ matrix.os }}=='ubuntu-20.04')&&(${{ matrix.python-version }}=='3.8')"
run: |
cp README.md CHANGELOG.md dist/
cp docs/images dist/
cp -r docs/images dist/
- name: Upload packages
if: "(${{ matrix.os }}=='ubuntu-20.04')&&(${{ matrix.python-version }}=='3.8')"
if: "always()&&(${{ matrix.os }}=='ubuntu-20.04')&&(${{ matrix.python-version }}=='3.8')"
uses: actions/upload-artifact@v3
with:
name: dist-py3
Expand Down

0 comments on commit 6c35de4

Please sign in to comment.