Skip to content

Commit

Permalink
adding action for postgres and removing its caching 'cause it breaks …
Browse files Browse the repository at this point in the history
…build

Signed-off-by: danbugs <[email protected]>
  • Loading branch information
danbugs committed Dec 24, 2023
1 parent 16a67fc commit 6686fff
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,7 @@ jobs:

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2

- if: matrix.os == 'windows-latest'
name: Cache Chocolatey packages
uses: actions/cache@v2
with:
path: C:\ProgramData\chocolatey\lib
key: windows-choco-${{ hashFiles('**/choco-packages.config') }}
restore-keys: |
windows-choco-


- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -66,7 +58,7 @@ jobs:

- if: matrix.os == 'windows-latest'
name: Install PostgreSQL
run: choco install postgresql --params '/Password:postgres' --no-progress
uses: ikalnytskyi/action-setup-postgres@v4

- name: Build
run: cargo build --release --target ${{ matrix.target }}
Expand Down

0 comments on commit 6686fff

Please sign in to comment.