From 61f1f341a5292befac3acdef9ce37c6d929b851e Mon Sep 17 00:00:00 2001 From: Erfan Arefmehr Date: Sat, 29 Jun 2024 14:08:16 +0330 Subject: [PATCH] fix deprecations in publish.yml --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b055c3c..7acd061 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@master + uses: actions/checkout@v4 - name: Setup Python 3.9 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Install dependencies @@ -22,7 +22,7 @@ jobs: - name: Build run: poetry build - name: Publish (production) - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }}