Skip to content

Commit b212897

Browse files
committed
Add libpq to project
1 parent 4c816d2 commit b212897

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/ci_action.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,6 @@ jobs:
8585
with:
8686
toolchain: stable
8787

88-
- name: Download libpq.lib
89-
run: |
90-
New-Item -Path "." -Name "libs" -ItemType "directory"
91-
Invoke-WebRequest -Uri https://sakadream.me/cloud/index.php/s/JXnJvyjifGBPuR2/download -OutFile libs\libpq.lib
92-
9388
- name: Get temporary secret key
9489
shell: cmd
9590
run: ren src\secret.key.sample secret.key
@@ -127,7 +122,7 @@ jobs:
127122
command: check
128123
args: --release
129124
env:
130-
RUSTFLAGS: -L D:\a\actix-web-rest-api-with-jwt\actix-web-rest-api-with-jwt\libs
125+
RUSTFLAGS: -L D:\a\actix-web-rest-api-with-jwt\actix-web-rest-api-with-jwt\libs\windows
131126

132127
- name: Run cargo fmt
133128
uses: actions-rs/cargo@v1
@@ -149,7 +144,7 @@ jobs:
149144
command: build
150145
args: --release
151146
env:
152-
RUSTFLAGS: -L D:\a\actix-web-rest-api-with-jwt\actix-web-rest-api-with-jwt\libs
147+
RUSTFLAGS: -L D:\a\actix-web-rest-api-with-jwt\actix-web-rest-api-with-jwt\libs\windows
153148

154149
cicd-macos:
155150
name: CI macOS

libs/windows/libpq.lib

34 KB
Binary file not shown.

0 commit comments

Comments
 (0)