diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8a7c8e2..731ce5d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,9 +16,9 @@ jobs: matrix: python-version: [ "3.9", "3.10" ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -28,7 +28,7 @@ jobs: redis-version: 7 - name: Cache pip - uses: actions/cache@v3 + uses: actions/cache@v4 with: # This path is specific to Ubuntu path: ~/.cache/pip @@ -70,13 +70,15 @@ jobs: .venv-server/bin/pip freeze >> requirements.txt - name: Archive production artifacts - uses: actions/upload-artifact@v3 + if: matrix.python-version == '3.10' + uses: actions/upload-artifact@v4 with: name: dist path: dist - name: Archive production artifacts - uses: actions/upload-artifact@v3 + if: matrix.python-version == '3.10' + uses: actions/upload-artifact@v4 with: name: requirements.txt path: requirements.txt diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 3dc8027..bc5376d 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -17,7 +17,7 @@ jobs: needs: build steps: - name: Use built artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist path: dist