diff options
| author | ruki <[email protected]> | 2020-05-31 13:27:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-05-31 13:27:59 +0800 |
| commit | 146d231ffaf5879fc96b4543e23b1d17ef221996 (patch) | |
| tree | ce9bf35c21034cfd40ae135641aaf202c7f72089 | |
| parent | 135dc0344116b419227fb901219c700c9143f5cf (diff) | |
add deb for ci
| -rw-r--r-- | .github/workflows/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
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: |
