diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index a2751f01..68d7371b 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -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 }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 87dfc356..d4f65223 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -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