diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index d029b91f..e86bcba5 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -13,7 +13,7 @@ jobs: linux-release-build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install dependencies run: | sudo apt-get update @@ -22,7 +22,7 @@ jobs: - name: Release Build run: cargo build --release - name: Upload build artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lan-mouse-linux path: target/release/lan-mouse @@ -62,7 +62,7 @@ jobs: gvsbuild build --msys-dir=C:\msys64 gtk4 libadwaita librsvg Move-Item "C:\Program Files\Git\usr\notbin" "C:\Program Files\Git\usr\bin" Move-Item "C:\Program Files\Git\notbin" "C:\Program Files\Git\bin" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Release Build run: cargo build --release - name: Create Archive @@ -72,7 +72,7 @@ jobs: Copy-Item -Path "target\release\lan-mouse.exe" -Destination "lan-mouse-windows" Compress-Archive -Path "lan-mouse-windows\*" -DestinationPath lan-mouse-windows.zip - name: Upload build artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lan-mouse-windows path: lan-mouse-windows.zip @@ -80,7 +80,7 @@ jobs: macos-release-build: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install dependencies run: brew install gtk4 libadwaita - name: Release Build @@ -88,7 +88,7 @@ jobs: cargo build --release cp target/release/lan-mouse lan-mouse-macos-intel - name: Upload build artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lan-mouse-macos path: lan-mouse-macos-intel diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b5c12923..ffebe9f3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install dependencies run: | sudo apt-get update @@ -30,7 +30,7 @@ jobs: - name: Clippy run: cargo clippy --all-features --all-targets -- --deny warnings - name: Upload build artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lan-mouse path: target/debug/lan-mouse @@ -40,7 +40,7 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' @@ -84,7 +84,7 @@ jobs: - name: Copy Gtk Dlls run: Get-Childitem -Path "C:\\gtk-build\\gtk\\x64\\release\\bin\\*.dll" -File -Recurse | Copy-Item -Destination "target\\debug" - name: Upload build artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lan-mouse-windows path: | @@ -94,7 +94,7 @@ jobs: build-macos: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install dependencies run: brew install gtk4 libadwaita - name: Build @@ -106,7 +106,7 @@ jobs: - name: Clippy run: cargo clippy --all-features --all-targets -- --deny warnings - name: Upload build artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lan-mouse-macos path: target/debug/lan-mouse diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index ae45067f..ab853107 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -9,7 +9,7 @@ jobs: linux-release-build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install dependencies run: | sudo apt-get update @@ -18,7 +18,7 @@ jobs: - name: Release Build run: cargo build --release - name: Upload build artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lan-mouse-linux path: target/release/lan-mouse @@ -58,7 +58,7 @@ jobs: gvsbuild build --msys-dir=C:\msys64 gtk4 libadwaita librsvg Move-Item "C:\Program Files\Git\usr\notbin" "C:\Program Files\Git\usr\bin" Move-Item "C:\Program Files\Git\notbin" "C:\Program Files\Git\bin" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Release Build run: cargo build --release - name: Create Archive @@ -68,7 +68,7 @@ jobs: Copy-Item -Path "target\release\lan-mouse.exe" -Destination "lan-mouse-windows" Compress-Archive -Path "lan-mouse-windows\*" -DestinationPath lan-mouse-windows.zip - name: Upload build artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lan-mouse-windows path: lan-mouse-windows.zip @@ -76,7 +76,7 @@ jobs: macos-release-build: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install dependencies run: brew install gtk4 libadwaita - name: Release Build @@ -84,7 +84,7 @@ jobs: cargo build --release cp target/release/lan-mouse lan-mouse-macos-intel - name: Upload build artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lan-mouse-macos path: lan-mouse-macos-intel