Skip to content

Commit

Permalink
ci: update github actions to the latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianMika committed May 21, 2024
1 parent b36d171 commit d8a7692
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/bridge-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install tauri dependencies
if: ${{ matrix.target == 'Linux' }}
Expand All @@ -34,12 +34,12 @@ jobs:
librsvg2-dev
- name: Install rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3

- name: Run clippy
if: ${{ matrix.target == 'Linux' }}
Expand All @@ -53,7 +53,7 @@ jobs:
# TODO: run front-end tests

- name: Install node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: latest

Expand All @@ -65,31 +65,31 @@ jobs:

- name: Upload app image
if: ${{ matrix.target == 'Linux' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bridge-controller-appimage
path: src-tauri/target/release/bundle/appimage/bridge-controller_*_amd64.AppImage
if-no-files-found: error

- name: Upload Debian package
if: ${{ matrix.target == 'Linux' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bridge-controller-deb
path: src-tauri/target/release/bundle/deb/bridge-controller_*_amd64.deb
if-no-files-found: error

- name: Upload Windows msi installer
if: ${{ matrix.target == 'Windows' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bridge-controller-msi
path: src-tauri\target\release\bundle\msi\bridge-controller_*_x64_en-US.msi
if-no-files-found: error

- name: Upload Windows exe binary
if: ${{ matrix.target == 'Windows' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bridge-controller-exe
path: src-tauri\target\release\bundle\nsis\bridge-controller_*_x64-setup.exe
Expand All @@ -101,7 +101,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Debian package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bridge-controller-deb
path: .
Expand Down

0 comments on commit d8a7692

Please sign in to comment.