diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80d6a68..57886b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,24 +63,24 @@ jobs: with: ref: ${{ github.event.inputs.branch }} - - name: Install Rust (${{ matrix.os }}, ${{ matrix.name }}) - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - target: ${{ matrix.target }} - override: true - - name: Install musl-tools (for Alpine) if: matrix.target == 'x86_64-unknown-linux-musl' run: | sudo apk add curl gcc musl-dev - + - name: Install RPM build tools if: matrix.packaging == 'rpm' run: | dnf install -y rpm-build + - name: Install Rust (${{ matrix.os }}, ${{ matrix.name }}) + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + target: ${{ matrix.target }} + override: true + - name: Build uses: actions-rs/cargo@v1 with: