astro-datalab / datalab

Python client to interface with the NSF NOIRLab's Astro Data Lab Science Platform.
MIT License
22 stars 8 forks source link

fix datalab_pip.yml to upload only once #70

Open iglesu opened 5 months ago

iglesu commented 5 months ago

Break it in two jobs, one that builds all the python versions and the other one that just uploads once.

maybe set a job-level output say package-dir i.e. jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: ['3.9', '3.10', '3.11'] outputs: package-dir: ${{ steps.build.outputs.package-dir }}

and then in the upload job: