From 6dcdfb72b34682dd6113f2855185df8196efed01 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Sat, 22 Apr 2023 11:58:06 +0200 Subject: [PATCH] Pin version of pypa/gh-action-pypi-publish --- .github/workflows/modoboa.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/modoboa.yml b/.github/workflows/modoboa.yml index bd52f6991..d5ac34757 100644 --- a/.github/workflows/modoboa.yml +++ b/.github/workflows/modoboa.yml @@ -159,10 +159,10 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up Python 3.10 + - name: Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.8' - name: Build frontend shell: bash -l {0} run: | @@ -184,7 +184,7 @@ jobs: python setup.py sdist bdist_wheel - name: Publish to Test PyPI if: endsWith(github.event.ref, '/master') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.test_pypi_password }} @@ -192,7 +192,7 @@ jobs: skip_existing: true - name: Publish distribution to PyPI if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.pypi_password }}