From 37b8783ff8de01635b1fd02459defcd65ed2b6e1 Mon Sep 17 00:00:00 2001 From: vsoch Date: Fri, 26 Jan 2024 06:24:41 -0700 Subject: [PATCH] remove conda from other workflows Signed-off-by: vsoch --- .github/workflows/docs.yml | 9 +++++---- .github/workflows/release.yaml | 13 +++++-------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fe2184f..10178f7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -8,16 +8,17 @@ jobs: generate-docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: gh-pages - - name: Create conda environment - run: conda create --quiet -c conda-forge --name oraspy + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: 3.11 - name: Install Oras and Dependencies run: | - export PATH="/usr/share/miniconda/bin:$PATH" root=$PWD source activate oraspy cd /tmp diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5607f41..63b7e4d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,15 +10,14 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 - - - name: Install - run: conda create --quiet --name oras twine + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: 3.11 - name: Install dependencies run: | - export PATH="/usr/share/miniconda/bin:$PATH" - source activate oras pip install -e . pip install setuptools wheel twine - name: Build and publish @@ -26,7 +25,5 @@ jobs: TWINE_USERNAME: ${{ secrets.PYPI_USER }} TWINE_PASSWORD: ${{ secrets.PYPI_PASS }} run: | - export PATH="/usr/share/miniconda/bin:$PATH" - source activate oras python setup.py sdist bdist_wheel twine upload dist/*