diff --git a/.github/workflows/secrets-sdk.yml b/.github/workflows/secrets-sdk.yml index 2cd40371..a3c0b732 100644 --- a/.github/workflows/secrets-sdk.yml +++ b/.github/workflows/secrets-sdk.yml @@ -15,10 +15,6 @@ on: pull_request: workflow_dispatch: -defaults: - run: - working-directory: packages/secrets/src/keyring - permissions: contents: read @@ -40,11 +36,12 @@ jobs: args: --release --out dist --find-interpreter sccache: "true" manylinux: auto + working-directory: packages/secrets/src/keyring - name: Upload wheels uses: actions/upload-artifact@v3 with: name: wheels - path: dist + path: packages/secrets/src/keyring/dist windows: runs-on: windows-latest @@ -63,11 +60,12 @@ jobs: target: ${{ matrix.target }} args: --release --out dist --find-interpreter sccache: "true" + working-directory: packages/secrets/src/keyring - name: Upload wheels uses: actions/upload-artifact@v3 with: name: wheels - path: dist + path: packages/secrets/src/keyring/dist macos: runs-on: macos-latest @@ -85,11 +83,12 @@ jobs: target: ${{ matrix.target }} args: --release --out dist --find-interpreter sccache: "true" + working-directory: packages/secrets/src/keyring - name: Upload wheels uses: actions/upload-artifact@v3 with: name: wheels - path: dist + path: packages/secrets/src/keyring/dist sdist: runs-on: ubuntu-latest @@ -100,25 +99,27 @@ jobs: with: command: sdist args: --out dist + working-directory: packages/secrets/src/keyring - name: Upload sdist uses: actions/upload-artifact@v3 with: name: wheels - path: dist + path: packages/secrets/src/keyring/dist - release: - name: Release - runs-on: ubuntu-latest - if: ${{ startsWith(github.ref, 'refs/tags/') }} - needs: [linux, windows, macos, sdist] - steps: - - uses: actions/download-artifact@v3 - with: - name: wheels - - name: Publish to PyPI - uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} - with: - command: upload - args: --non-interactive --skip-existing * + # release: + # name: Release + # runs-on: ubuntu-latest + # if: ${{ startsWith(github.ref, 'refs/tags/') }} + # needs: [linux, windows, macos, sdist] + # steps: + # - uses: actions/download-artifact@v3 + # with: + # name: wheels + # - name: Publish to PyPI + # uses: PyO3/maturin-action@v1 + # env: + # MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} + # with: + # command: upload + # args: --non-interactive --skip-existing * + # working-directory: packages/secrets/src/keyring