Skip to content

Commit

Permalink
fix(CI): damn pdm-backend
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Nov 5, 2024
1 parent e235bab commit 92dd43c
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 }}
8 changes: 4 additions & 4 deletions .github/workflows/publish-elizabeth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
6 changes: 3 additions & 3 deletions .github/workflows/publish-onebot-v11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 }}
4 changes: 2 additions & 2 deletions .github/workflows/publish-qqapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-red.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-satori.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-standard-qq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-twilight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 92dd43c

Please sign in to comment.