From 2c07640eea43b4a8482e1f5a2136e7f60493a3e8 Mon Sep 17 00:00:00 2001 From: vados Date: Fri, 8 Dec 2023 13:35:05 +0900 Subject: [PATCH] fix(ci): run pgrx init before install Signed-off-by: vados --- .github/workflows/prep-release.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prep-release.yaml b/.github/workflows/prep-release.yaml index d09aad0..955d334 100644 --- a/.github/workflows/prep-release.yaml +++ b/.github/workflows/prep-release.yaml @@ -21,13 +21,21 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + + # Install deps - uses: Swatinem/rust-cache@v2 - uses: chainguard-dev/actions/setup-gitsign@main - name: Install cargo-release uses: taiki-e/install-action@v1 with: - tool: cargo-release,just,cargo-get + tool: cargo-release,just,cargo-get,cargo-pgrx + + # Initialize PGRX + - name: Initialize pgrx + run: | + cargo pgrx init + # Prep the project - name: Determine version id: determine-version env: @@ -37,6 +45,7 @@ jobs: # TODO: We should update the CHANGELOG to the new version + # Create PR for release - uses: cargo-bins/release-pr@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }}