Skip to content

Commit

Permalink
ci: replace strategy & matrix by literal versions (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
benbenbang authored Aug 16, 2023
1 parent 0c70f25 commit 173772b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ jobs:
# prepare tag
if: ${{ needs.verify-condition.outputs.execute_release }}
name: release
strategy:
matrix:
python-version: ["3.10"]
poetry-version: ["1.5.1"]
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
Expand Down Expand Up @@ -85,7 +81,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: "3.10"
- name: prepare pipx, poetry and dependencies
run: |
python -m pip install --user pipx
Expand All @@ -94,7 +90,7 @@ jobs:
poetry install
poetry show
env:
poetry_version: ${{ matrix.poetry-version }}
poetry_version: "1.5.1"
- name: publish pypi
run: |
pipx run poetry version ${{ env.git_ref_name }}
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ jobs:
# prepare tag
if: ${{ needs.verify-condition.outputs.execute_release }}
name: release-rc
strategy:
matrix:
python-version: ["3.10"]
poetry-version: ["1.5.1"]
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
Expand Down Expand Up @@ -72,7 +68,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: "3.10"
- name: prepare pipx, poetry and dependencies
run: |
python -m pip install --user pipx
Expand All @@ -81,7 +77,7 @@ jobs:
poetry install
poetry show
env:
poetry_version: ${{ matrix.poetry-version }}
poetry_version: "1.5.1"
- name: publish testpypi
run: |
unique_counter=$(date +%s)
Expand Down

0 comments on commit 173772b

Please sign in to comment.