0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-28 01:29:03 +03:00

Try to fix CI build

Remove ubuntu

fix nix-os container

unzip dependency

artifacts name fix

updating package version

fix

fix branch name
This commit is contained in:
Andrey Onishchenko
2024-02-02 13:27:57 +03:00
parent 2a6702b05e
commit cd5016dc01
2 changed files with 25 additions and 21 deletions

View File

@@ -6,7 +6,7 @@ on:
- '*'
push:
branches:
- 'main'
- 'master'
jobs:
@@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
container:
- ubuntu:22.04
- archlinux:latest
runs-on: ubuntu-latest
container:
@@ -26,10 +25,18 @@ jobs:
- name: Build
run: sh ./.github/workflows/build.sh
- name: Upload artifact
- name: Upload Arch artifact
uses: actions/upload-artifact@v4
with:
path: ./dist/*
path: ./dist/*.pkg.tar.zst
name: arch-packages
- name: Upload Deb artifact
uses: actions/upload-artifact@v4
with:
path: ./dist/*.deb
name: deb-packages
nix-build:
runs-on: ubuntu-latest
env:
@@ -42,9 +49,10 @@ jobs:
uses: cachix/install-nix-action@v22
- name: Build
run: nix build
run: sh ./.github/workflows/build.sh
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: ./result/*
path: ./result/*
name: nix-package