fix build artifacts for ubuntu-22.04

This commit is contained in:
woodser 2024-09-30 09:19:16 -04:00
parent 11c0f7613b
commit 60b91d3d23

View File

@ -37,7 +37,7 @@ jobs:
name: cached-localnet name: cached-localnet
path: .localnet path: .localnet
- name: Install dependencies - name: Install dependencies
if: ${{ matrix.os == 'ubuntu-latest' }} if: ${{ matrix.os == 'ubuntu-22.04' }}
run: | run: |
sudo apt update sudo apt update
sudo apt install -y rpm sudo apt install -y rpm
@ -53,10 +53,10 @@ jobs:
./gradlew packageInstallers ./gradlew packageInstallers
working-directory: . working-directory: .
- name: Move Release Files on Unix - name: Move Release Files on Unix
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-13' }} if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-13' }}
run: | run: |
mkdir ${{ github.workspace }}/release mkdir ${{ github.workspace }}/release
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then if [ "${{ matrix.os }}" == "ubuntu-22.04" ]; then
mv desktop/build/temp-*/binaries/haveno-*.rpm ${{ github.workspace }}/release mv desktop/build/temp-*/binaries/haveno-*.rpm ${{ github.workspace }}/release
mv desktop/build/temp-*/binaries/haveno_*.deb ${{ github.workspace }}/release mv desktop/build/temp-*/binaries/haveno_*.deb ${{ github.workspace }}/release
else else