diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 987653d..dbf455b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,6 @@ jobs: key: ${{ runner.os }}-cargo-registry-${{ hashFiles('Cargo.lock') }} - uses: dtolnay/rust-toolchain@nightly name: Set Rust toolchain - # These dependencies are required for `clipboard` - run: cargo test env: CARGO_INCREMENTAL: '0' diff --git a/.github/workflows/cicd-test.yml b/.github/workflows/cicd-test.yml index b67adac..2d67e16 100644 --- a/.github/workflows/cicd-test.yml +++ b/.github/workflows/cicd-test.yml @@ -56,15 +56,12 @@ jobs: target: ${{ matrix.job.target }} - uses: taiki-e/install-action@cross if: ${{ matrix.job.use-cross }} - - name: Installing needed macOS dependencies - if: matrix.job.os == 'macos-latest' - run: brew install openssl@1.1 + - name: Installing needed Ubuntu dependencies if: matrix.job.os == 'ubuntu-latest' shell: bash run: | sudo apt-get -y update - sudo apt-get -y install -qq pkg-config libssl-dev case ${{ matrix.job.target }} in arm*-linux-*) sudo apt-get -y install gcc-arm-linux-gnueabihf ;; aarch64-*-linux-*) sudo apt-get -y install gcc-aarch64-linux-gnu ;; @@ -131,8 +128,5 @@ jobs: path: ~/.cargo/bin key: ${{ runner.os }}-cargo-bin-${{ hashFiles('.github/workflows/cd.yml') }} - uses: dtolnay/rust-toolchain@stable - - run: | - sudo apt-get update - sudo apt-get install -y -qq pkg-config libssl-dev - run: cargo publish --token ${{ secrets.CARGO_API_KEY }} --allow-dirty --dry-run