Skip to content

Commit

Permalink
fix(ci): run pgrx init before install
Browse files Browse the repository at this point in the history
Signed-off-by: vados <[email protected]>
  • Loading branch information
t3hmrman committed Dec 8, 2023
1 parent 7f2aea5 commit 2c07640
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/prep-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down

0 comments on commit 2c07640

Please sign in to comment.