From 2156c6fa7b8a47928108cb7cd71f187cad274778 Mon Sep 17 00:00:00 2001 From: Maxime Gasse Date: Tue, 12 Mar 2024 16:12:31 -0400 Subject: [PATCH] workflow update --- .github/workflows/pypi.yml | 42 +++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index f2fe99c7..367e170b 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -28,7 +28,7 @@ jobs: run: python3 -m build webarena/ --outdir dist/ - name: Build a binary wheel and a source tarball (browsergym) - run: python3 -m build meta/ --outdir dist/ + run: python3 -m build . --outdir dist/ - name: Store the distribution packages uses: actions/upload-artifact@v4 @@ -99,23 +99,23 @@ jobs: '${{ github.ref_name }}' dist/** --repo '${{ github.repository }}' - publish-to-testpypi: - name: Publish to TestPyPI - needs: - - build - runs-on: ubuntu-latest - environment: testpypi - permissions: - id-token: write # IMPORTANT: mandatory for trusted publishing - - steps: - - name: Download all the distribution packages - uses: actions/download-artifact@v4 - with: - name: python-package-distributions - path: dist/ - - - name: Publish distribution packages to TestPyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - repository-url: https://test.pypi.org/legacy/ \ No newline at end of file + # publish-to-testpypi: + # name: Publish to TestPyPI + # needs: + # - build + # runs-on: ubuntu-latest + # environment: testpypi + # permissions: + # id-token: write # IMPORTANT: mandatory for trusted publishing + + # steps: + # - name: Download all the distribution packages + # uses: actions/download-artifact@v4 + # with: + # name: python-package-distributions + # path: dist/ + + # - name: Publish distribution packages to TestPyPI + # uses: pypa/gh-action-pypi-publish@release/v1 + # with: + # repository-url: https://test.pypi.org/legacy/ \ No newline at end of file