diff --git a/.github/workflows/publish-console.yml b/.github/workflows/publish-console.yml index 341ea983..a7f4fa75 100644 --- a/.github/workflows/publish-console.yml +++ b/.github/workflows/publish-console.yml @@ -8,8 +8,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 name: Ensure Python Runtime with: python-version: "3.x" diff --git a/.github/workflows/publish-core.yml b/.github/workflows/publish-core.yml index 98d7fcba..74acd6b7 100644 --- a/.github/workflows/publish-core.yml +++ b/.github/workflows/publish-core.yml @@ -8,8 +8,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 name: Ensure Python Runtime with: python-version: '3.x' @@ -19,7 +19,7 @@ jobs: python3 -m pip install pdm twine pdm-mina "mina-build<0.6" - name: Build Package run: | - export MINA_BUILD_TARGET=core && pdm mina build core + export MINA_BUILD_TARGET=core && pdm mina build core --no-isolation - name: Publish to PyPI run: | twine upload dist/* --non-interactive -u __token__ -p ${{ secrets.PYPI_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/publish-elizabeth.yml b/.github/workflows/publish-elizabeth.yml index fb51a235..688a3a2d 100644 --- a/.github/workflows/publish-elizabeth.yml +++ b/.github/workflows/publish-elizabeth.yml @@ -8,18 +8,18 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 name: Ensure Python Runtime with: python-version: "3.x" architecture: "x64" - name: Ensure PDM & twine run: | - python3 -m pip install pdm twine pdm-mina "mina-build<0.6" + python3 -m pip install pdm=="2.13.2" twine pdm-mina "mina-build<0.6" - name: Build Package run: | - export MINA_BUILD_TARGET=elizabeth && pdm mina build elizabeth + export MINA_BUILD_TARGET=elizabeth && pdm mina build elizabeth --no-isolation - name: Publish to PyPI run: | twine upload dist/* --non-interactive -u __token__ -p ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/publish-onebot-v11.yml b/.github/workflows/publish-onebot-v11.yml index 4b2c6c01..88405379 100644 --- a/.github/workflows/publish-onebot-v11.yml +++ b/.github/workflows/publish-onebot-v11.yml @@ -8,8 +8,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 name: Ensure Python Runtime with: python-version: "3.x" @@ -19,7 +19,7 @@ jobs: python3 -m pip install pdm twine pdm-mina "mina-build<0.6" - name: Build Package run: | - export MINA_BUILD_TARGET=onebot-v11 && pdm mina build onebot-v11 + export MINA_BUILD_TARGET=onebot-v11 && pdm mina build onebot-v11 --no-isolation - name: Publish to PyPI run: | twine upload dist/* --non-interactive -u __token__ -p ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/publish-qqapi.yml b/.github/workflows/publish-qqapi.yml index 9ddc4628..d061f102 100644 --- a/.github/workflows/publish-qqapi.yml +++ b/.github/workflows/publish-qqapi.yml @@ -8,8 +8,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 name: Ensure Python Runtime with: python-version: "3.x" diff --git a/.github/workflows/publish-red.yml b/.github/workflows/publish-red.yml index f6267164..ee0a57d2 100644 --- a/.github/workflows/publish-red.yml +++ b/.github/workflows/publish-red.yml @@ -8,8 +8,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 name: Ensure Python Runtime with: python-version: '3.x' diff --git a/.github/workflows/publish-satori.yml b/.github/workflows/publish-satori.yml index 1415721e..7b99749e 100644 --- a/.github/workflows/publish-satori.yml +++ b/.github/workflows/publish-satori.yml @@ -8,8 +8,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 name: Ensure Python Runtime with: python-version: '3.x' diff --git a/.github/workflows/publish-standard-qq.yml b/.github/workflows/publish-standard-qq.yml index 912e50ad..096e6523 100644 --- a/.github/workflows/publish-standard-qq.yml +++ b/.github/workflows/publish-standard-qq.yml @@ -8,8 +8,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 name: Ensure Python Runtime with: python-version: '3.x' diff --git a/.github/workflows/publish-twilight.yml b/.github/workflows/publish-twilight.yml index 5e2087bf..ed0f7492 100644 --- a/.github/workflows/publish-twilight.yml +++ b/.github/workflows/publish-twilight.yml @@ -8,8 +8,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 name: Ensure Python Runtime with: python-version: "3.x" diff --git a/pyproject.toml b/pyproject.toml index 8e806c76..4e3fa0f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ version = "0" requires-python = ">=3.9" [build-system] -requires = ["mina-build<0.6.0"] +requires = ["mina-build<0.6.0", "pdm-backend<2.4.0"] build-backend = "mina.backend" [tool.pdm.build]