Skip to content

Commit

Permalink
update scripts/ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bitner committed Oct 29, 2024
1 parent 0760e19 commit 46aadfd
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/civ2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
pgstac/pgstac-postgres
pgstac
pgstac/pgstac
${{ env.PGSTACIMAGE }}
tags: |
type=ref,event=branch
Expand All @@ -49,7 +50,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Base Postgres
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
context: .
Expand All @@ -75,14 +76,14 @@ jobs:
with:
working-directory: src/pypgstac
target: ${{ matrix.target }}
args: --release --out /tmp/dist
args: --release --out /home/runner/work/pgstac/pgstac/dist
sccache: 'true'
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
path: /tmp/dist/*
path: /home/runner/work/pgstac/pgstac/dist/*

windows:
runs-on: windows-latest
Expand All @@ -100,13 +101,13 @@ jobs:
with:
working-directory: src/pypgstac
target: ${{ matrix.target }}
args: --release --out /tmp/dist
args: --release --out /home/runner/work/pgstac/pgstac/dist
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
path: /tmp/dist/*
path: /home/runner/work/pgstac/pgstac/dist/*

macos:
runs-on: macos-latest
Expand All @@ -123,13 +124,13 @@ jobs:
with:
working-directory: src/pypgstac
target: ${{ matrix.target }}
args: --release --out /tmp/dist
args: --release --out /home/runner/work/pgstac/pgstac/dist
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
path: /tmp/dist/*
path: /home/runner/work/pgstac/pgstac/dist/*

sdist:
runs-on: ubuntu-latest
Expand All @@ -140,12 +141,12 @@ jobs:
with:
working-directory: src/pypgstac
command: sdist
args: --out /tmp/dist
args: --out /home/runner/work/pgstac/pgstac/dist
- name: Upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
path: /tmp/dist/*
path: /home/runner/work/pgstac/pgstac/dist/*

test:
name: test
Expand Down

0 comments on commit 46aadfd

Please sign in to comment.