diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 6733d58..d0b8cff 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -14,11 +14,19 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Download build artifact - uses: actions/download-artifact@v4 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - name: dist - path: ./dist/ + + - name: Install Hatch + run: pip install hatch + + - name: Build + run: hatch build + + # - name: Download build artifact - can't get this to work + # uses: actions/download-artifact@v4 + # with: + # github-token: ${{ secrets.GITHUB_TOKEN }} + # name: dist + # path: ./dist/ + - name: Publish uses: pypa/gh-action-pypi-publish@v1.12.3 \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e8eb441..ea0899d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,8 +30,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Upload built package as artifact - uses: actions/upload-artifact@v4 - with: - name: dist - path: dist/ \ No newline at end of file + # - name: Upload built package as artifact + # uses: actions/upload-artifact@v4 + # with: + # name: dist + # path: dist/ \ No newline at end of file