2022-02-12 09:09:36 +05:30
|
|
|
name: Build
|
2022-02-02 11:58:00 +05:30
|
|
|
|
|
|
|
on:
|
2022-02-12 09:09:36 +05:30
|
|
|
workflow_call:
|
|
|
|
inputs:
|
|
|
|
build_type:
|
|
|
|
description: Type of build (Debug, Release, RelWithDebInfo, MinSizeRel)
|
|
|
|
type: string
|
|
|
|
default: Debug
|
2022-02-02 11:58:00 +05:30
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
|
2022-02-20 01:16:43 +05:30
|
|
|
- os: ubuntu-20.04
|
|
|
|
|
2022-04-26 21:34:05 +05:30
|
|
|
- os: ubuntu-20.04
|
|
|
|
appimage: true
|
|
|
|
|
2022-02-02 11:58:00 +05:30
|
|
|
- os: windows-2022
|
2022-03-17 21:25:45 +05:30
|
|
|
name: "Windows-i686"
|
|
|
|
msystem: mingw32
|
|
|
|
|
|
|
|
- os: windows-2022
|
|
|
|
name: "Windows-x86_64"
|
|
|
|
msystem: mingw64
|
2022-03-21 23:41:55 +05:30
|
|
|
|
2022-06-12 22:43:19 +05:30
|
|
|
- os: macos-12
|
2022-04-17 13:23:30 +05:30
|
|
|
macosx_deployment_target: 10.13
|
2022-02-02 11:58:00 +05:30
|
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
env:
|
2022-02-07 01:05:50 +05:30
|
|
|
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macosx_deployment_target }}
|
|
|
|
INSTALL_DIR: "install"
|
2022-03-23 18:22:37 +05:30
|
|
|
INSTALL_PORTABLE_DIR: "install-portable"
|
|
|
|
INSTALL_APPIMAGE_DIR: "install-appdir"
|
2022-02-07 01:05:50 +05:30
|
|
|
BUILD_DIR: "build"
|
2022-05-22 13:42:33 +05:30
|
|
|
CCACHE_VAR: ""
|
2022-02-02 11:58:00 +05:30
|
|
|
|
|
|
|
steps:
|
2022-03-23 18:22:37 +05:30
|
|
|
##
|
|
|
|
# PREPARE
|
|
|
|
##
|
2022-02-12 10:00:13 +05:30
|
|
|
- name: Checkout
|
2022-03-23 18:03:18 +05:30
|
|
|
uses: actions/checkout@v3
|
2022-02-12 10:00:13 +05:30
|
|
|
with:
|
|
|
|
submodules: 'true'
|
|
|
|
|
2022-03-17 21:25:45 +05:30
|
|
|
- name: 'Setup MSYS2'
|
2022-02-10 20:58:31 +05:30
|
|
|
if: runner.os == 'Windows'
|
2022-03-17 21:25:45 +05:30
|
|
|
uses: msys2/setup-msys2@v2
|
|
|
|
with:
|
|
|
|
msystem: ${{ matrix.msystem }}
|
|
|
|
update: true
|
|
|
|
install: >-
|
|
|
|
git
|
|
|
|
pacboy: >-
|
|
|
|
toolchain:p
|
|
|
|
cmake:p
|
2022-06-12 17:06:55 +05:30
|
|
|
extra-cmake-modules:p
|
2022-03-17 21:25:45 +05:30
|
|
|
ninja:p
|
|
|
|
qt5:p
|
2022-04-29 05:04:26 +05:30
|
|
|
ccache:p
|
2022-05-15 05:21:23 +05:30
|
|
|
nsis:p
|
2022-04-29 05:04:26 +05:30
|
|
|
|
|
|
|
- name: Setup ccache
|
2022-04-30 20:42:11 +05:30
|
|
|
if: runner.os != 'Windows' && inputs.build_type == 'Debug'
|
2022-04-29 05:04:26 +05:30
|
|
|
uses: hendrikmuhs/ccache-action@v1.2.1
|
|
|
|
with:
|
2022-04-30 20:42:11 +05:30
|
|
|
key: ${{ matrix.os }}-${{ matrix.appimage }}
|
2022-04-29 05:04:26 +05:30
|
|
|
|
|
|
|
- name: Setup ccache (Windows)
|
2022-04-30 20:42:11 +05:30
|
|
|
if: runner.os == 'Windows' && inputs.build_type == 'Debug'
|
2022-04-29 05:04:26 +05:30
|
|
|
shell: msys2 {0}
|
|
|
|
run: |
|
|
|
|
ccache --set-config=cache_dir='${{ github.workspace }}\.ccache'
|
|
|
|
ccache --set-config=max_size='500M'
|
|
|
|
ccache --set-config=compression=true
|
|
|
|
ccache -p # Show config
|
|
|
|
ccache -z # Zero stats
|
|
|
|
|
2022-05-22 13:42:33 +05:30
|
|
|
- name: Use ccache on Debug builds only
|
|
|
|
if: inputs.build_type == 'Debug'
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
echo "CCACHE_VAR=ccache" >> $GITHUB_ENV
|
|
|
|
|
2022-04-29 05:04:26 +05:30
|
|
|
- name: Retrieve ccache cache (Windows)
|
2022-04-30 20:42:11 +05:30
|
|
|
if: runner.os == 'Windows' && inputs.build_type == 'Debug'
|
2022-04-29 05:04:26 +05:30
|
|
|
uses: actions/cache@v3.0.2
|
|
|
|
with:
|
|
|
|
path: '${{ github.workspace }}\.ccache'
|
2022-04-30 20:42:11 +05:30
|
|
|
key: ${{ matrix.os }}-${{ matrix.msystem }}
|
2022-04-29 05:04:26 +05:30
|
|
|
restore-keys: |
|
2022-04-30 20:42:11 +05:30
|
|
|
${{ matrix.os }}-${{ matrix.msystem }}
|
2022-02-12 09:09:36 +05:30
|
|
|
|
2022-03-19 02:58:52 +05:30
|
|
|
- name: Set short version
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
ver_short=`git rev-parse --short HEAD`
|
|
|
|
echo "VERSION=$ver_short" >> $GITHUB_ENV
|
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Install Qt (macOS)
|
|
|
|
if: runner.os == 'macOS'
|
2022-04-17 13:23:30 +05:30
|
|
|
run: |
|
|
|
|
brew update
|
2022-06-12 17:06:55 +05:30
|
|
|
brew install qt@5 ninja extra-cmake-modules
|
2022-05-15 05:21:23 +05:30
|
|
|
|
2022-04-26 21:34:05 +05:30
|
|
|
- name: Update Qt (AppImage)
|
|
|
|
if: runner.os == 'Linux' && matrix.appimage == true
|
|
|
|
run: |
|
|
|
|
sudo add-apt-repository ppa:savoury1/qt-5-15
|
2022-05-22 20:46:00 +05:30
|
|
|
sudo add-apt-repository ppa:savoury1/kde-5-80
|
|
|
|
sudo add-apt-repository ppa:savoury1/gpg
|
|
|
|
sudo add-apt-repository ppa:savoury1/ffmpeg4
|
2022-02-02 11:58:00 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Install Qt (Linux)
|
|
|
|
if: runner.os == 'Linux'
|
2022-02-22 20:11:17 +05:30
|
|
|
run: |
|
2022-03-10 13:38:16 +05:30
|
|
|
sudo apt-get -y update
|
2022-06-12 17:06:55 +05:30
|
|
|
sudo apt-get -y install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5core5a libqt5network5 libqt5gui5 ninja-build qt5-image-formats-plugins extra-cmake-modules
|
2022-02-02 11:58:00 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Prepare AppImage (Linux)
|
2022-04-26 21:34:05 +05:30
|
|
|
if: runner.os == 'Linux' && matrix.appimage == true
|
2022-02-07 17:49:58 +05:30
|
|
|
run: |
|
|
|
|
wget "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
|
|
|
|
wget "https://github.com/linuxdeploy/linuxdeploy-plugin-appimage/releases/download/continuous/linuxdeploy-plugin-appimage-x86_64.AppImage"
|
|
|
|
wget "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage"
|
|
|
|
|
|
|
|
${{ github.workspace }}/.github/scripts/prepare_JREs.sh
|
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
##
|
|
|
|
# CONFIGURE
|
|
|
|
##
|
|
|
|
|
|
|
|
- name: Configure CMake (macOS)
|
|
|
|
if: runner.os == 'macOS'
|
2022-03-17 21:25:45 +05:30
|
|
|
run: |
|
2022-05-22 13:42:33 +05:30
|
|
|
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DQt5_DIR=/usr/local/opt/qt@5 -DCMAKE_PREFIX_PATH=/usr/local/opt/qt@5 -DLauncher_BUILD_PLATFORM=macOS -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -G Ninja
|
2022-03-17 21:25:45 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Configure CMake (Windows)
|
|
|
|
if: runner.os == 'Windows'
|
2022-03-17 21:25:45 +05:30
|
|
|
shell: msys2 {0}
|
2022-02-07 01:05:50 +05:30
|
|
|
run: |
|
2022-05-22 13:42:33 +05:30
|
|
|
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_BUILD_PLATFORM=${{ matrix.name }} -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -G Ninja
|
2022-03-21 23:59:33 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Configure CMake (Linux)
|
|
|
|
if: runner.os == 'Linux'
|
2022-03-21 23:59:33 +05:30
|
|
|
run: |
|
2022-05-22 13:42:33 +05:30
|
|
|
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_BUILD_PLATFORM=Linux -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -G Ninja
|
2022-02-07 01:05:50 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
##
|
|
|
|
# BUILD
|
|
|
|
##
|
2022-03-25 17:43:50 +05:30
|
|
|
|
2022-02-02 11:58:00 +05:30
|
|
|
- name: Build
|
2022-03-17 21:25:45 +05:30
|
|
|
if: runner.os != 'Windows'
|
|
|
|
run: |
|
|
|
|
cmake --build ${{ env.BUILD_DIR }}
|
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Build (Windows)
|
2022-03-21 23:59:33 +05:30
|
|
|
if: runner.os == 'Windows'
|
2022-03-17 21:25:45 +05:30
|
|
|
shell: msys2 {0}
|
2022-02-02 11:58:00 +05:30
|
|
|
run: |
|
2022-02-07 01:05:50 +05:30
|
|
|
cmake --build ${{ env.BUILD_DIR }}
|
2022-02-02 11:58:00 +05:30
|
|
|
|
2022-06-04 17:55:01 +05:30
|
|
|
##
|
|
|
|
# TEST
|
|
|
|
##
|
|
|
|
|
|
|
|
- name: Test
|
|
|
|
if: runner.os != 'Windows'
|
|
|
|
run: |
|
|
|
|
ctest --test-dir build --output-on-failure
|
|
|
|
|
|
|
|
- name: Test (Windows)
|
|
|
|
if: runner.os == 'Windows'
|
|
|
|
shell: msys2 {0}
|
|
|
|
run: |
|
|
|
|
ctest --test-dir build --output-on-failure
|
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
##
|
|
|
|
# PACKAGE BUILDS
|
|
|
|
##
|
|
|
|
|
|
|
|
- name: Package (macOS)
|
|
|
|
if: runner.os == 'macOS'
|
2022-03-17 21:25:45 +05:30
|
|
|
run: |
|
|
|
|
cmake --install ${{ env.BUILD_DIR }}
|
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
cd ${{ env.INSTALL_DIR }}
|
|
|
|
chmod +x "PolyMC.app/Contents/MacOS/polymc"
|
2022-04-18 07:22:46 +05:30
|
|
|
sudo codesign --sign - --deep --force --entitlements "../program_info/App.entitlements" --options runtime "PolyMC.app/Contents/MacOS/polymc"
|
2022-03-23 18:22:37 +05:30
|
|
|
tar -czf ../PolyMC.tar.gz *
|
|
|
|
|
|
|
|
- name: Package (Windows)
|
2022-03-17 21:25:45 +05:30
|
|
|
if: runner.os == 'Windows'
|
|
|
|
shell: msys2 {0}
|
2022-02-07 01:05:50 +05:30
|
|
|
run: |
|
|
|
|
cmake --install ${{ env.BUILD_DIR }}
|
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
cd ${{ env.INSTALL_DIR }}
|
|
|
|
if [ "${{ matrix.msystem }}" == "mingw32" ]; then
|
|
|
|
cp /mingw32/bin/libcrypto-1_1.dll /mingw32/bin/libssl-1_1.dll ./
|
|
|
|
elif [ "${{ matrix.msystem }}" == "mingw64" ]; then
|
|
|
|
cp /mingw64/bin/libcrypto-1_1-x64.dll /mingw64/bin/libssl-1_1-x64.dll ./
|
|
|
|
fi
|
|
|
|
|
|
|
|
- name: Package (Windows, portable)
|
|
|
|
if: runner.os == 'Windows'
|
|
|
|
shell: msys2 {0}
|
2022-02-02 11:58:00 +05:30
|
|
|
run: |
|
2022-03-23 18:22:37 +05:30
|
|
|
cp -r ${{ env.INSTALL_DIR }} ${{ env.INSTALL_PORTABLE_DIR }} # cmake install on Windows is slow, let's just copy instead
|
|
|
|
cmake --install ${{ env.BUILD_DIR }} --prefix ${{ env.INSTALL_PORTABLE_DIR }} --component portable
|
2022-02-07 01:05:50 +05:30
|
|
|
|
2022-05-15 05:21:23 +05:30
|
|
|
- name: Package (Windows, installer)
|
|
|
|
if: runner.os == 'Windows'
|
|
|
|
shell: msys2 {0}
|
|
|
|
run: |
|
2022-05-21 02:42:08 +05:30
|
|
|
cd ${{ env.INSTALL_DIR }}
|
2022-05-30 03:07:45 +05:30
|
|
|
makensis -NOCD "${{ github.workspace }}/${{ env.BUILD_DIR }}/program_info/win_install.nsi"
|
2022-05-15 05:21:23 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Package (Linux)
|
2022-04-26 21:34:05 +05:30
|
|
|
if: runner.os == 'Linux' && matrix.appimage != true
|
2022-03-25 17:43:50 +05:30
|
|
|
run: |
|
2022-03-23 18:22:37 +05:30
|
|
|
cmake --install ${{ env.BUILD_DIR }} --prefix ${{ env.INSTALL_DIR }}
|
|
|
|
|
|
|
|
cd ${{ env.INSTALL_DIR }}
|
2022-04-18 16:15:25 +05:30
|
|
|
tar --owner root --group root -czf ../PolyMC.tar.gz *
|
2022-03-23 18:22:37 +05:30
|
|
|
|
|
|
|
- name: Package (Linux, portable)
|
2022-04-26 21:34:05 +05:30
|
|
|
if: runner.os == 'Linux' && matrix.appimage != true
|
2022-03-23 18:22:37 +05:30
|
|
|
run: |
|
|
|
|
cmake --install ${{ env.BUILD_DIR }} --prefix ${{ env.INSTALL_PORTABLE_DIR }}
|
|
|
|
cmake --install ${{ env.BUILD_DIR }} --prefix ${{ env.INSTALL_PORTABLE_DIR }} --component portable
|
|
|
|
|
|
|
|
cd ${{ env.INSTALL_PORTABLE_DIR }}
|
|
|
|
tar -czf ../PolyMC-portable.tar.gz *
|
2022-03-25 17:43:50 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Package AppImage (Linux)
|
2022-04-26 21:34:05 +05:30
|
|
|
if: runner.os == 'Linux' && matrix.appimage == true
|
2022-02-07 01:05:50 +05:30
|
|
|
shell: bash
|
|
|
|
run: |
|
2022-03-23 18:22:37 +05:30
|
|
|
cmake --install ${{ env.BUILD_DIR }} --prefix ${{ env.INSTALL_APPIMAGE_DIR }}/usr
|
|
|
|
|
2022-02-12 09:09:36 +05:30
|
|
|
export OUTPUT="PolyMC-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage"
|
2022-02-07 18:41:42 +05:30
|
|
|
|
2022-02-07 01:05:50 +05:30
|
|
|
chmod +x linuxdeploy-*.AppImage
|
2022-02-07 18:41:42 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
mkdir -p ${{ env.INSTALL_APPIMAGE_DIR }}/usr/lib/jvm/java-{8,17}-openjdk
|
2022-02-07 18:41:42 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
cp -r ${{ github.workspace }}/JREs/jre8/* ${{ env.INSTALL_APPIMAGE_DIR }}/usr/lib/jvm/java-8-openjdk
|
2022-02-07 18:41:42 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
cp -r ${{ github.workspace }}/JREs/jre17/* ${{ env.INSTALL_APPIMAGE_DIR }}/usr/lib/jvm/java-17-openjdk
|
2022-02-07 18:41:42 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${{ env.INSTALL_APPIMAGE_DIR }}/usr/lib"
|
|
|
|
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${{ env.INSTALL_APPIMAGE_DIR }}/usr/lib/jvm/java-8-openjdk/lib/amd64/server"
|
|
|
|
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${{ env.INSTALL_APPIMAGE_DIR }}/usr/lib/jvm/java-8-openjdk/lib/amd64"
|
|
|
|
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${{ env.INSTALL_APPIMAGE_DIR }}/usr/lib/jvm/java-17-openjdk/lib/server"
|
|
|
|
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${{ env.INSTALL_APPIMAGE_DIR }}/usr/lib/jvm/java-17-openjdk/lib"
|
|
|
|
export LD_LIBRARY_PATH
|
2022-02-07 01:05:50 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
./linuxdeploy-x86_64.AppImage --appdir ${{ env.INSTALL_APPIMAGE_DIR }} --output appimage --plugin qt -i ${{ env.INSTALL_APPIMAGE_DIR }}/usr/share/icons/hicolor/scalable/apps/org.polymc.PolyMC.svg
|
2022-02-02 11:58:00 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
##
|
|
|
|
# UPLOAD BUILDS
|
|
|
|
##
|
2022-02-02 11:58:00 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Upload binary tarball (macOS)
|
2022-02-02 11:58:00 +05:30
|
|
|
if: runner.os == 'macOS'
|
2022-03-23 18:22:37 +05:30
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: PolyMC-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}
|
|
|
|
path: PolyMC.tar.gz
|
2022-02-02 11:58:00 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Upload binary zip (Windows)
|
|
|
|
if: runner.os == 'Windows'
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: PolyMC-${{ matrix.name }}-${{ env.VERSION }}-${{ inputs.build_type }}
|
|
|
|
path: ${{ env.INSTALL_DIR }}/**
|
2022-02-20 01:16:43 +05:30
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Upload binary zip (Windows, portable)
|
|
|
|
if: runner.os == 'Windows'
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: PolyMC-${{ matrix.name }}-Portable-${{ env.VERSION }}-${{ inputs.build_type }}
|
|
|
|
path: ${{ env.INSTALL_PORTABLE_DIR }}/**
|
2022-03-25 17:43:50 +05:30
|
|
|
|
2022-05-15 05:21:23 +05:30
|
|
|
- name: Upload installer (Windows)
|
|
|
|
if: runner.os == 'Windows'
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
2022-05-21 01:26:13 +05:30
|
|
|
name: PolyMC-${{ matrix.name }}-Setup-${{ env.VERSION }}-${{ inputs.build_type }}
|
2022-05-15 05:21:23 +05:30
|
|
|
path: PolyMC-Setup.exe
|
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Upload binary tarball (Linux)
|
2022-04-26 21:34:05 +05:30
|
|
|
if: runner.os == 'Linux' && matrix.appimage != true
|
2022-03-23 18:03:18 +05:30
|
|
|
uses: actions/upload-artifact@v3
|
2022-02-20 01:16:43 +05:30
|
|
|
with:
|
|
|
|
name: PolyMC-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}
|
|
|
|
path: PolyMC.tar.gz
|
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Upload binary tarball (Linux, portable)
|
2022-04-26 21:34:05 +05:30
|
|
|
if: runner.os == 'Linux' && matrix.appimage != true
|
2022-03-25 17:43:50 +05:30
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: PolyMC-${{ runner.os }}-Portable-${{ env.VERSION }}-${{ inputs.build_type }}
|
|
|
|
path: PolyMC-portable.tar.gz
|
|
|
|
|
2022-03-23 18:22:37 +05:30
|
|
|
- name: Upload AppImage (Linux)
|
2022-04-26 21:34:05 +05:30
|
|
|
if: runner.os == 'Linux' && matrix.appimage == true
|
2022-03-23 18:03:18 +05:30
|
|
|
uses: actions/upload-artifact@v3
|
2022-02-07 01:05:50 +05:30
|
|
|
with:
|
2022-02-12 09:09:36 +05:30
|
|
|
name: PolyMC-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage
|
|
|
|
path: PolyMC-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage
|
2022-02-07 01:05:50 +05:30
|
|
|
|
2022-03-17 21:25:45 +05:30
|
|
|
|