From ce528e82a72f1c58e49067434b3da5c29ebfe16b Mon Sep 17 00:00:00 2001 From: Sierra Taylor Moxon Date: Tue, 19 Dec 2023 11:42:14 -0800 Subject: [PATCH] update actions build software versions --- .github/workflows/main.yaml | 4 ++-- .github/workflows/pypi-publish.yaml | 32 ++++++++++++++--------------- .github/workflows/refresh.yml | 2 +- 3 files changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ef7b451..3a057d5 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -17,9 +17,9 @@ jobs: matrix: python-version: [ "3.11", "3.7" ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index 50d9f94..66ba316 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -2,7 +2,7 @@ name: Publish Python Package on: release: - types: [created] + types: [ created ] jobs: build-n-publish: @@ -10,23 +10,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v2.2.2 - with: - python-version: 3.9 + - name: Set up Python + uses: actions/setup-python@v3 - - name: Install Poetry - run: | - pip install poetry - poetry self add "poetry-dynamic-versioning[plugin]" + - name: Install Poetry + run: | + pip install poetry + poetry self add "poetry-dynamic-versioning[plugin]" - - name: Build source and wheel archives - run: poetry build + - name: Build source and wheel archives + run: poetry build - - name: Publish distribution 📦 to PyPI - uses: pypa/gh-action-pypi-publish@v1.2.2 - with: - user: __token__ - password: ${{ secrets.pypi_password }} + - name: Publish distribution 📦 to PyPI + uses: pypa/gh-action-pypi-publish@v1.2.2 + with: + user: __token__ + password: ${{ secrets.pypi_password }} diff --git a/.github/workflows/refresh.yml b/.github/workflows/refresh.yml index 237bb85..b48c2e5 100644 --- a/.github/workflows/refresh.yml +++ b/.github/workflows/refresh.yml @@ -12,7 +12,7 @@ jobs: with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token fetch-depth: 0 # otherwise, you will failed to push refs to dest repo - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v3 with: python-version: "3.10"