Skip to content

Commit

Permalink
Use ubuntu 20
Browse files Browse the repository at this point in the history
  • Loading branch information
arctixdev committed Jun 2, 2024
1 parent 67ddc5e commit 69df948
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-18.04, windows-latest, macos-12]
platform: [macos-latest, ubuntu-20.04, windows-latest, macos-12]

runs-on: ${{ matrix.platform }}

Expand All @@ -87,7 +87,7 @@ jobs:
git pull
- name: Install dependencies (Linux)
if: matrix.platform == 'ubuntu-18.04'
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt remove needrestart #refer: https://github.com/actions/runner-images/issues/9937
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
run: yarn install && cd $env:GITHUB_WORKSPACE/frontend/ && yarn install && cd $env:GITHUB_WORKSPACE # Change this to npm, yarn or pnpm.

- name: Build the app (Linux)
if: matrix.platform == 'ubuntu-18.04'
if: matrix.platform == 'ubuntu-20.04'
uses: tauri-apps/tauri-action@v0

env:
Expand Down Expand Up @@ -211,29 +211,29 @@ jobs:
releaseBody: "Fixes"

- name: Upload linux binary
if: matrix.platform == 'ubuntu-18.04'
if: matrix.platform == 'ubuntu-20.04'
uses: svenstaro/upload-release-action@v2
with:
tag: v${{ needs.update_version.outputs.version }}
asset_name: music-assistant-companion-${{ needs.update_version.outputs.version }}
file: src-tauri/target/release/music-assistant-companion

- name: Upload squeezelite binary
if: matrix.platform == 'ubuntu-18.04'
if: matrix.platform == 'ubuntu-20.04'
uses: svenstaro/upload-release-action@v2
with:
tag: v${{ needs.update_version.outputs.version }}
file: src-tauri/bin/squeezelite-x86_64-unknown-linux-gnu

- name: Upload deb build
if: matrix.platform == 'ubuntu-18.04'
if: matrix.platform == 'ubuntu-20.04'
uses: svenstaro/upload-release-action@v2
with:
tag: v${{ needs.update_version.outputs.version }}
file: src-tauri/target/release/bundle/deb/Music Assistant Companion_${{ needs.update_version.outputs.version }}_amd64.deb

- name: Upload appimage build
if: matrix.platform == 'ubuntu-18.04'
if: matrix.platform == 'ubuntu-20.04'
uses: svenstaro/upload-release-action@v2
with:
tag: v${{ needs.update_version.outputs.version }}
Expand Down

0 comments on commit 69df948

Please sign in to comment.