Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
chore: comment unfinished job
Browse files Browse the repository at this point in the history
  • Loading branch information
jfcalvo committed Jan 23, 2024
1 parent 85766f3 commit 3ac6b74
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,37 +179,37 @@ jobs:
# secrets: inherit

# This job will publish argilla-server python package into PyPI repository
publish_release:
name: Publish Release
runs-on: ubuntu-latest
if: ${{ github.event_name == 'release' }}
needs:
- build_quickstart_docker_image
permissions:
# This permission is needed for private repositories.
# contents: read
# IMPORTANT: this permission is mandatory for trusted publishing on PyPI
id-token: write
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout Code 🛎
uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Download python package
uses: actions/download-artifact@v2
with:
name: python-package
path: dist
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
with:
cache: true
- name: Publish Package to PyPI test environment 🥪
run: pdm publish --no-build --repository testpypi
- name: Test Installing 🍿
run: pip install --index-url https://test.pypi.org/simple --no-deps argilla-server==${GITHUB_REF#refs/*/v}
- name: Publish Package to PyPI 🥩
run: pdm publish --no-build
# publish_release:
# name: Publish Release
# runs-on: ubuntu-latest
# if: ${{ github.event_name == 'release' }}
# needs:
# - build_quickstart_docker_image
# permissions:
# # This permission is needed for private repositories.
# # contents: read
# # IMPORTANT: this permission is mandatory for trusted publishing on PyPI
# id-token: write
# defaults:
# run:
# shell: bash -l {0}
# steps:
# - name: Checkout Code 🛎
# uses: actions/checkout@v3
# with:
# submodules: "recursive"
# - name: Download python package
# uses: actions/download-artifact@v2
# with:
# name: python-package
# path: dist
# - name: Setup PDM
# uses: pdm-project/setup-pdm@v3
# with:
# cache: true
# - name: Publish Package to PyPI test environment 🥪
# run: pdm publish --no-build --repository testpypi
# - name: Test Installing 🍿
# run: pip install --index-url https://test.pypi.org/simple --no-deps argilla-server==${GITHUB_REF#refs/*/v}
# - name: Publish Package to PyPI 🥩
# run: pdm publish --no-build

0 comments on commit 3ac6b74

Please sign in to comment.