mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-29 09:29:46 +03:00
Upgrade GitHub Actions
This commit is contained in:
parent
8c3f300a4a
commit
ef4dd08acd
16
.github/workflows/packages.yml
vendored
16
.github/workflows/packages.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repos
|
- name: Checkout repos
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build sdist
|
- name: Build sdist
|
||||||
run: ./scripts/build/build_sdist.sh
|
run: ./scripts/build/build_sdist.sh
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
PACKAGE_NAME: ${{ matrix.package_name }}
|
PACKAGE_NAME: ${{ matrix.package_name }}
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: packages_sdist
|
name: packages_sdist
|
||||||
path: |
|
path: |
|
||||||
|
@ -69,10 +69,10 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repos
|
- name: Checkout repos
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up QEMU for multi-arch build
|
- name: Set up QEMU for multi-arch build
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
||||||
- name: Build packages
|
- name: Build packages
|
||||||
run: >-
|
run: >-
|
||||||
|
@ -91,7 +91,7 @@ jobs:
|
||||||
./scripts/build/build_${{ matrix.tag }}.sh
|
./scripts/build/build_${{ matrix.tag }}.sh
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: packages_${{ matrix.tag }}_${{ matrix.arch }}
|
name: packages_${{ matrix.tag }}_${{ matrix.arch }}
|
||||||
path: |
|
path: |
|
||||||
|
@ -121,10 +121,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repos
|
- name: Checkout repos
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ jobs:
|
||||||
PSYCOPG2_TEST_FAST: 1
|
PSYCOPG2_TEST_FAST: 1
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: packages_macos
|
name: packages_macos
|
||||||
path: |
|
path: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user