Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
- "rustfmt.toml"
# or in js packages
- "packages/**"
# or in workflows
- ".github/workflows/**"

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,15 @@ jobs:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres

- name: Set version name
run: echo "version=(git cliff --bumped-version)" >> $GITHUB_ENV
run: echo "version=$(git cliff --bumped-version)" >> "$GITHUB_ENV"

- name: 🛠️ Run Build
run: cargo build -p pgt_cli --release --target ${{ matrix.config.target }}
# Strip all debug symbols from the resulting binaries
RUSTFLAGS: "-C strip=symbols -C codegen-units=1"
# Inline the version in the CLI binary
PGT_VERSION: ${{ env.version }}
env:
# Strip all debug symbols from the resulting binaries
RUSTFLAGS: "-C strip=symbols -C codegen-units=1"
# Inline the version in the CLI binary
PGT_VERSION: ${{ env.version }}


# windows is a special snowflake too, it saves binaries as .exe
Expand Down
Loading