From 146d231ffaf5879fc96b4543e23b1d17ef221996 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 31 May 2020 13:27:59 +0800 Subject: add deb for ci --- .github/workflows/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 212c026b8..11db7db7c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,14 +32,25 @@ jobs: run: | brew install gnu-tar gem install --no-document fpm + git submodule update --init scripts/makepkg osxpkg latest scripts/archive-all scripts/makeself/build-runfile.sh + if: matrix.os == 'linux-latest' + run: | + sudo apt-get install -y ruby ruby-dev rubygems build-essential + sudo gem install --no-document fpm + git submodule update --init + scripts/makepkg deb latest - uses: actions/upload-artifact@v2 if: matrix.os == 'macOS-latest' with: name: xmake-latest.macosx.pkg path: xmake-latest.pkg + if: matrix.os == 'linux-latest' + with: + name: xmake-latest.amd64.deb + path: xmake-latest.deb - uses: actions/upload-artifact@v2 if: matrix.os == 'macOS-latest' with: -- cgit v1.3.1