diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index dd8f443..e68f7a8 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -17,10 +17,12 @@ jobs: - target: x86_64-unknown-linux-gnu cross: true platform: linux/amd64 + deps: "build-essential libssl-dev pkg-config" - target: x86_64-pc-windows-gnu cross: true platform: linux/amd64 + deps: "build-essential mingw-w64" steps: - name: Checkout code @@ -35,6 +37,11 @@ jobs: if: matrix.target != 'native' && !matrix.container run: rustup target add ${{ matrix.target }} + - name: Install build dependencies + if: matrix.cross && matrix.deps + run: | + apk add --no-cache ${{ matrix.deps }} + - name: Cache Rust dependencies uses: https://code.forgejo.org/actions/cache@v4 with: