update workflow
Signed-off-by: FTCHD <144691102+FTCHD@users.noreply.github.com>
This commit is contained in:
@@ -29,6 +29,10 @@ jobs:
|
||||
args: "--config '{\"bundle\":{\"createUpdaterArtifacts\":false}}'"
|
||||
assetPattern: '[name]_[arch]_legacy[ext]'
|
||||
variant: 'legacy'
|
||||
- platform: 'ubuntu-24.04'
|
||||
args: "--config '{\"bundle\":{\"createUpdaterArtifacts\":false}}'"
|
||||
assetPattern: '[name]_[arch]_alternate[ext]'
|
||||
variant: 'alternate'
|
||||
- platform: 'ubuntu-22.04-arm'
|
||||
args: ''
|
||||
assetPattern: '[name]_[arch][ext]'
|
||||
@@ -58,12 +62,13 @@ jobs:
|
||||
cache: 'npm'
|
||||
|
||||
- name: Purge cargo
|
||||
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm' || matrix.platform == 'ubuntu-24.04'
|
||||
run: |
|
||||
rm -rf ~/.cargo/registry ~/.cargo/git ./target || true
|
||||
|
||||
- name: install Rust stable (linux only)
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm'
|
||||
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm' || matrix.platform == 'ubuntu-24.04'
|
||||
|
||||
- name: install Rust stable (macos only)
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
@@ -84,10 +89,10 @@ jobs:
|
||||
key: ${{ runner.os }}-${{ runner.arch }}${{ matrix.variant && format('-{0}', matrix.variant) || '' }}
|
||||
|
||||
- name: install dependencies (linux only)
|
||||
if: matrix.variant == 'default'
|
||||
if: matrix.variant == 'default' || matrix.variant == 'alternate'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libwebkit2gtk-4.1-dev librsvg2-dev patchelf libayatana-appindicator3-dev
|
||||
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
|
||||
|
||||
- name: install dependencies (linux legacy only)
|
||||
if: matrix.variant == 'legacy'
|
||||
@@ -125,7 +130,7 @@ jobs:
|
||||
- name: install dependencies (linux arm only)
|
||||
if: matrix.platform == 'ubuntu-22.04-arm'
|
||||
run: |
|
||||
sudo apt-get install -y xdg-utils
|
||||
sudo apt-get install -y xdg-utils libayatana-appindicator3-dev
|
||||
|
||||
- name: install dependencies (windows only)
|
||||
if: matrix.platform == 'windows-11-arm'
|
||||
|
||||
Reference in New Issue
Block a user