diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index e68f7a8..de9e8d3 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -17,12 +17,10 @@ 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 @@ -37,11 +35,6 @@ 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: @@ -76,7 +69,7 @@ jobs: with: args: > sh -c " - apk add --no-cache build-base musl-dev gcc g++ && + apk add --no-cache build-base musl-dev gcc g++ openssl-dev pkg-config && rustup target add x86_64-unknown-linux-gnu && cargo build --release --target x86_64-unknown-linux-gnu && mkdir -p release-artifacts &&