diff --git a/.github/actions/macos/action.yml b/.github/actions/macos/action.yml index 38eeaa46..1b38bf7e 100644 --- a/.github/actions/macos/action.yml +++ b/.github/actions/macos/action.yml @@ -3,11 +3,11 @@ description: Build macOS builds runs: using: "composite" steps: - - uses: Swatinem/rust-cache@v1 - - uses: actions-rs/cargo@v1 - with: - command: build - args: --release + - uses: Swatinem/rust-cache@v2 + - uses: dtolnay/rust-toolchain@stable + - name: Build macOS Release + shell: bash + run: cargo build --release - name: copy binary shell: bash run: cp target/release/neothesia .github/app/Neothesia.app/Contents/MacOS diff --git a/.github/actions/ubuntu-recorder/action.yml b/.github/actions/ubuntu-recorder/action.yml index 836c2467..7d55062f 100644 --- a/.github/actions/ubuntu-recorder/action.yml +++ b/.github/actions/ubuntu-recorder/action.yml @@ -6,11 +6,11 @@ runs: - name: Install alsa shell: bash run: sudo apt update && sudo apt install libasound2-dev libgtk-3-dev libavcodec-dev libavformat-dev libswscale-dev - - uses: Swatinem/rust-cache@v1 - - uses: actions-rs/cargo@v1 - with: - command: build - args: --release -p neothesia-cli + - uses: Swatinem/rust-cache@v2 + - uses: dtolnay/rust-toolchain@stable + - name: Build Ubuntu Recorder Release + shell: bash + run: cargo build --release -p neothesia-cli - name: Chmod +x shell: bash run: chmod +x target/release/neothesia-cli diff --git a/.github/actions/ubuntu/action.yml b/.github/actions/ubuntu/action.yml index 31f00578..ae38fb9a 100644 --- a/.github/actions/ubuntu/action.yml +++ b/.github/actions/ubuntu/action.yml @@ -6,11 +6,11 @@ runs: - name: Install alsa shell: bash run: sudo apt update && sudo apt install libasound2-dev libgtk-3-dev - - uses: Swatinem/rust-cache@v1 - - uses: actions-rs/cargo@v1 - with: - command: build - args: --release + - uses: Swatinem/rust-cache@v2 + - uses: dtolnay/rust-toolchain@stable + - name: Build Ubuntu Release + shell: bash + run: cargo build --release - name: Chmod +x shell: bash run: chmod +x target/release/neothesia diff --git a/.github/actions/windows-recorder/action.yml b/.github/actions/windows-recorder/action.yml index c0c7e79d..e477610d 100644 --- a/.github/actions/windows-recorder/action.yml +++ b/.github/actions/windows-recorder/action.yml @@ -16,11 +16,11 @@ runs: Add-Content $env:GITHUB_ENV "FFMPEG_DIR=${pwd}\ffmpeg`n" Add-Content $env:GITHUB_PATH "${pwd}\ffmpeg\bin`n" - - uses: Swatinem/rust-cache@v1 - - uses: actions-rs/cargo@v1 - with: - command: build - args: --release -p neothesia-cli + - uses: Swatinem/rust-cache@v2 + - uses: dtolnay/rust-toolchain@stable + - name: Build Ubuntu Release + shell: bash + run: cargo build --release -p neothesia-cli - uses: actions/upload-artifact@v4 with: name: windows-recorder-artifact diff --git a/.github/actions/windows/action.yml b/.github/actions/windows/action.yml index ba42b012..94fc8d12 100644 --- a/.github/actions/windows/action.yml +++ b/.github/actions/windows/action.yml @@ -3,11 +3,11 @@ description: Build Windows builds runs: using: "composite" steps: - - uses: Swatinem/rust-cache@v1 - - uses: actions-rs/cargo@v1 - with: - command: build - args: --release + - uses: Swatinem/rust-cache@v2 + - uses: dtolnay/rust-toolchain@stable + - name: Build Windows Release + shell: bash + run: cargo build --release - uses: actions/upload-artifact@v4 with: name: windows-artifact