Skip to content

Commit 69b21e6

Browse files
authored
fix: run ci for workflows (#290)
* fix: run ci for workflows * fix: workflow issues * fix: workflow issues
1 parent 1e06895 commit 69b21e6

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/pull_request.yml

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414
- "rustfmt.toml"
1515
# or in js packages
1616
- "packages/**"
17+
# or in workflows
18+
- ".github/workflows/**"
1719

1820
concurrency:
1921
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}

.github/workflows/release.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,15 @@ jobs:
5858
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
5959

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

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

7071

7172
# windows is a special snowflake too, it saves binaries as .exe

0 commit comments

Comments
 (0)