2022-01-20 07:58:44 +00:00
|
|
|
name: Build furnace
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: master
|
|
|
|
pull_request:
|
|
|
|
branches: master
|
|
|
|
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
env:
|
2023-04-16 20:12:51 +00:00
|
|
|
BUILD_TYPE: RelWithDebInfo
|
2022-01-20 07:58:44 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
config:
|
2023-02-15 05:51:43 +00:00
|
|
|
- { name: 'Windows MSVC x86', os: windows-latest, compiler: msvc, arch: x86 }
|
|
|
|
- { name: 'Windows MSVC x86_64', os: windows-latest, compiler: msvc, arch: x86_64 }
|
|
|
|
#- { name: 'Windows MinGW x86', os: ubuntu-20.04, compiler: mingw, arch: x86 }
|
|
|
|
#- { name: 'Windows MinGW x86_64', os: ubuntu-20.04, compiler: mingw, arch: x86_64 }
|
|
|
|
- { name: 'macOS x86_64', os: macos-latest, arch: x86_64 }
|
|
|
|
- { name: 'macOS ARM', os: macos-latest, arch: arm64 }
|
2023-04-04 21:36:12 +00:00
|
|
|
- { name: 'Linux x86_64', os: ubuntu-20.04, arch: x86_64 }
|
2022-11-28 08:21:18 +00:00
|
|
|
#- { name: 'Linux ARM', os: ubuntu-18.04, arch: armhf }
|
2023-01-13 05:12:14 +00:00
|
|
|
fail-fast: false
|
2022-01-20 07:58:44 +00:00
|
|
|
|
2022-04-08 21:30:08 +00:00
|
|
|
name: ${{ matrix.config.name }}
|
2022-01-20 07:58:44 +00:00
|
|
|
runs-on: ${{ matrix.config.os }}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-11-06 04:53:22 +00:00
|
|
|
uses: actions/checkout@v3.1.0
|
2022-01-20 07:58:44 +00:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
|
2022-04-02 14:48:05 +00:00
|
|
|
- name: Set Windows arch identifiers
|
|
|
|
id: windows-identify
|
|
|
|
if: ${{ matrix.config.compiler == 'msvc' || matrix.config.compiler == 'mingw' }}
|
|
|
|
run: |
|
2022-04-08 18:37:08 +00:00
|
|
|
vswhere_target="${{ matrix.config.arch }}"
|
|
|
|
msvc_target="${{ matrix.config.arch }}"
|
|
|
|
mingw_target="${{ matrix.config.arch }}"
|
2022-04-02 14:48:05 +00:00
|
|
|
|
2022-04-08 18:37:08 +00:00
|
|
|
if [ '${{ matrix.config.arch }}' == 'x86' ]; then
|
2022-04-02 14:48:05 +00:00
|
|
|
msvc_target="Win32"
|
2022-04-08 18:37:08 +00:00
|
|
|
elif [ '${{ matrix.config.arch }}' == 'x86_64' ]; then
|
2022-04-02 14:48:05 +00:00
|
|
|
vswhere_target="amd64"
|
|
|
|
msvc_target="x64"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ '${{ matrix.config.compiler }}' == 'msvc' ]; then
|
|
|
|
echo "vswhere target: ${vswhere_target}"
|
|
|
|
echo "MSVC target: ${msvc_target}"
|
|
|
|
else
|
|
|
|
echo "MinGW cross target: ${mingw_target}"
|
|
|
|
fi
|
|
|
|
|
2022-11-06 03:47:43 +00:00
|
|
|
echo "vswhere-target=${vswhere_target}" >> $GITHUB_OUTPUT
|
|
|
|
echo "msvc-target=${msvc_target}" >> $GITHUB_OUTPUT
|
|
|
|
echo "mingw-target=${mingw_target}" >> $GITHUB_OUTPUT
|
2022-04-02 14:48:05 +00:00
|
|
|
|
2022-04-08 19:13:15 +00:00
|
|
|
- name: Set package identifier
|
|
|
|
id: package-identify
|
|
|
|
run: |
|
|
|
|
package_name="furnace-${GITHUB_SHA}"
|
|
|
|
package_ext=""
|
|
|
|
if [ '${{ runner.os }}' == 'Windows' ] || [ '${{ matrix.config.compiler }}' == 'mingw' ]; then
|
|
|
|
package_name="${package_name}-Windows"
|
|
|
|
if [ '${{ matrix.config.compiler }}' == 'mingw' ]; then
|
|
|
|
package_name="${package_name}-MinGW"
|
|
|
|
else
|
|
|
|
package_name="${package_name}-MSVC"
|
|
|
|
fi
|
|
|
|
package_name="${package_name}-${{ matrix.config.arch }}"
|
|
|
|
package_ext="" # Directory, uploading will automatically zip it
|
|
|
|
elif [ '${{ runner.os }}' == 'macOS' ]; then
|
2022-08-05 22:22:07 +00:00
|
|
|
package_name="${package_name}-macOS-${{ matrix.config.arch }}"
|
2022-04-08 19:13:15 +00:00
|
|
|
package_ext=".dmg"
|
|
|
|
else
|
2022-08-07 00:22:00 +00:00
|
|
|
package_name="${package_name}-Linux-${{ matrix.config.arch }}"
|
2023-05-25 19:36:30 +00:00
|
|
|
package_ext=".tar.gz"
|
2022-04-08 19:13:15 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
echo "Package identifier: ${package_name}"
|
|
|
|
echo "Package file: ${package_name}${package_ext}"
|
|
|
|
|
2022-11-06 03:47:43 +00:00
|
|
|
echo "id=${package_name}" >> $GITHUB_OUTPUT
|
|
|
|
echo "filename=${package_name}${package_ext}" >> $GITHUB_OUTPUT
|
2022-04-08 19:13:15 +00:00
|
|
|
|
2022-04-09 19:22:25 +00:00
|
|
|
- name: Set build cores amount
|
|
|
|
id: build-cores
|
|
|
|
run: |
|
|
|
|
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
|
2022-05-26 09:37:45 +00:00
|
|
|
amount=2
|
2022-04-09 19:22:25 +00:00
|
|
|
if [ '${{ runner.os }}' == 'macOS' ]; then
|
|
|
|
amount=3
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "Amount of cores we can build with: ${amount}"
|
|
|
|
|
2022-11-06 03:47:43 +00:00
|
|
|
echo "amount=${amount}" >> $GITHUB_OUTPUT
|
2022-04-09 19:22:25 +00:00
|
|
|
|
2022-01-20 07:58:44 +00:00
|
|
|
- name: Setup Toolchain [Windows MSVC]
|
2022-04-01 00:55:20 +00:00
|
|
|
if: ${{ matrix.config.compiler == 'msvc' }}
|
2022-11-06 04:34:15 +00:00
|
|
|
uses: vadz/gha-setup-vsdevenv@avoid-deprecation-warnings
|
2022-04-02 14:48:05 +00:00
|
|
|
with:
|
|
|
|
arch: ${{ steps.windows-identify.outputs.vswhere-target }}
|
2022-01-20 07:58:44 +00:00
|
|
|
|
|
|
|
- name: Setup Toolchain [Windows MinGW]
|
2022-04-01 00:55:20 +00:00
|
|
|
if: ${{ matrix.config.compiler == 'mingw' }}
|
|
|
|
run: |
|
|
|
|
sudo apt update
|
|
|
|
sudo apt install \
|
|
|
|
mingw-w64 \
|
|
|
|
mingw-w64-tools
|
2022-01-20 07:58:44 +00:00
|
|
|
|
2022-08-07 00:22:00 +00:00
|
|
|
- name: Install Dependencies [Linux x86_64]
|
|
|
|
if: ${{ runner.os == 'Linux' && matrix.config.compiler != 'mingw' && matrix.config.arch == 'x86_64' }}
|
2022-01-20 07:58:44 +00:00
|
|
|
run: |
|
|
|
|
sudo apt update
|
|
|
|
sudo apt install \
|
|
|
|
libsdl2-dev \
|
2022-04-03 18:57:17 +00:00
|
|
|
libfmt-dev \
|
|
|
|
librtmidi-dev \
|
2022-01-20 07:58:44 +00:00
|
|
|
libsndfile1-dev \
|
|
|
|
zlib1g-dev \
|
2023-05-25 19:36:30 +00:00
|
|
|
libjack-jackd2-dev
|
2022-01-20 07:58:44 +00:00
|
|
|
|
2022-08-07 00:22:00 +00:00
|
|
|
- name: Install Dependencies [Linux armhf]
|
|
|
|
if: ${{ runner.os == 'Linux' && matrix.config.compiler != 'mingw' && matrix.config.arch == 'armhf' }}
|
|
|
|
run: |
|
|
|
|
sudo sed -ri "s/^deb /deb [arch=amd64] /" /etc/apt/sources.list
|
|
|
|
echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ bionic main universe" | sudo tee -a /etc/apt/sources.list
|
|
|
|
echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main universe" | sudo tee -a /etc/apt/sources.list
|
|
|
|
sudo dpkg --add-architecture armhf
|
2022-08-07 00:35:06 +00:00
|
|
|
sudo apt update
|
2022-08-07 00:22:00 +00:00
|
|
|
sudo apt install \
|
|
|
|
crossbuild-essential-armhf \
|
2022-08-07 00:35:06 +00:00
|
|
|
appstream
|
|
|
|
sudo apt install \
|
2022-08-07 00:22:00 +00:00
|
|
|
libsdl2-dev:armhf \
|
|
|
|
libfmt-dev:armhf \
|
|
|
|
librtmidi-dev:armhf \
|
|
|
|
libsndfile1-dev:armhf \
|
|
|
|
zlib1g-dev:armhf \
|
2022-08-07 00:35:06 +00:00
|
|
|
libjack-jackd2-dev:armhf
|
2022-08-07 00:59:38 +00:00
|
|
|
ls /usr/arm-linux-gnueabihf/lib
|
2022-08-07 00:22:00 +00:00
|
|
|
|
2022-04-08 21:30:08 +00:00
|
|
|
- name: Configure (System Libraries)
|
2022-08-07 00:22:00 +00:00
|
|
|
if: ${{ runner.os == 'Linux' && matrix.config.compiler != 'mingw' && matrix.config.arch == 'x86_64' }}
|
2022-01-20 07:58:44 +00:00
|
|
|
run: |
|
2022-02-01 20:50:25 +00:00
|
|
|
export USE_WAE=ON
|
2022-01-20 07:58:44 +00:00
|
|
|
export CMAKE_EXTRA_ARGS=()
|
2022-04-01 00:55:20 +00:00
|
|
|
if [ '${{ matrix.config.compiler }}' == 'msvc' ]; then
|
2022-04-02 14:48:05 +00:00
|
|
|
CMAKE_EXTRA_ARGS+=('-DCMAKE_GENERATOR_PLATFORM=${{ steps.windows-identify.outputs.msvc-target }}')
|
2022-04-01 00:55:20 +00:00
|
|
|
elif [ '${{ matrix.config.compiler }}' == 'mingw' ]; then
|
2022-04-02 14:48:05 +00:00
|
|
|
CMAKE_EXTRA_ARGS+=('-DCMAKE_TOOLCHAIN_FILE=scripts/Cross-MinGW-${{ steps.windows-identify.outputs.mingw-target }}.cmake')
|
2022-04-03 18:57:17 +00:00
|
|
|
else
|
|
|
|
# Test with system libs
|
|
|
|
CMAKE_EXTRA_ARGS+=(
|
2022-04-11 07:05:58 +00:00
|
|
|
'-DSYSTEM_FMT=OFF'
|
2022-04-03 18:57:17 +00:00
|
|
|
'-DSYSTEM_LIBSNDFILE=ON'
|
|
|
|
'-DSYSTEM_RTMIDI=ON'
|
|
|
|
'-DSYSTEM_ZLIB=ON'
|
|
|
|
'-DWITH_JACK=ON'
|
|
|
|
)
|
|
|
|
# Too old on Ubuntu
|
|
|
|
if [ '${{ runner.os }}' == 'macOS' ]; then
|
|
|
|
CMAKE_EXTRA_ARGS+=('-DSYSTEM_SDL2=ON')
|
|
|
|
fi
|
2022-01-20 07:58:44 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
cmake \
|
|
|
|
-B ${PWD}/build \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=${PWD}/target \
|
|
|
|
-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
|
2022-02-01 20:50:25 +00:00
|
|
|
-DWARNINGS_ARE_ERRORS=${USE_WAE} \
|
2022-01-20 07:58:44 +00:00
|
|
|
"${CMAKE_EXTRA_ARGS[@]}"
|
|
|
|
|
2022-04-08 21:30:08 +00:00
|
|
|
- name: Build (System Libraries)
|
2022-08-07 00:22:00 +00:00
|
|
|
if: ${{ runner.os == 'Linux' && matrix.config.compiler != 'mingw' && matrix.config.arch == 'x86_64' }}
|
2022-01-20 07:58:44 +00:00
|
|
|
run: |
|
|
|
|
cmake \
|
|
|
|
--build ${PWD}/build \
|
|
|
|
--config ${{ env.BUILD_TYPE }} \
|
2022-04-09 19:22:25 +00:00
|
|
|
--parallel ${{ steps.build-cores.outputs.amount }}
|
2022-01-20 07:58:44 +00:00
|
|
|
|
2022-04-08 21:30:08 +00:00
|
|
|
- name: Install (System Libraries)
|
2022-08-07 00:22:00 +00:00
|
|
|
if: ${{ runner.os == 'Linux' && matrix.config.compiler != 'mingw' && matrix.config.arch == 'x86_64' }}
|
2022-01-20 07:58:44 +00:00
|
|
|
run: |
|
|
|
|
cmake \
|
|
|
|
--install ${PWD}/build \
|
|
|
|
--config ${{ env.BUILD_TYPE }}
|
2022-03-28 13:38:35 +00:00
|
|
|
|
2022-04-08 21:30:08 +00:00
|
|
|
- name: Cleanup (System Libraries)
|
2022-08-07 00:22:00 +00:00
|
|
|
if: ${{ runner.os == 'Linux' && matrix.config.compiler != 'mingw' && matrix.config.arch == 'x86_64' }}
|
2022-03-28 13:38:35 +00:00
|
|
|
run: |
|
2022-04-08 19:13:15 +00:00
|
|
|
rm -rf build/ target/
|
2022-03-28 13:38:35 +00:00
|
|
|
|
2022-04-08 21:30:08 +00:00
|
|
|
- name: Configure
|
2022-03-28 13:38:35 +00:00
|
|
|
run: |
|
|
|
|
export USE_WAE=ON
|
|
|
|
export CMAKE_EXTRA_ARGS=()
|
2022-04-01 00:55:20 +00:00
|
|
|
if [ '${{ matrix.config.compiler }}' == 'msvc' ]; then
|
2022-04-02 14:48:05 +00:00
|
|
|
CMAKE_EXTRA_ARGS+=('-DCMAKE_GENERATOR_PLATFORM=${{ steps.windows-identify.outputs.msvc-target }}')
|
|
|
|
|
2022-04-01 00:55:20 +00:00
|
|
|
# Force static linking
|
|
|
|
# 1. Make MSVC runtime configurable
|
|
|
|
CMAKE_EXTRA_ARGS+=('-DCMAKE_POLICY_DEFAULT_CMP0091=NEW')
|
|
|
|
# 2. Use static (debug) runtime
|
|
|
|
if [ '${{ env.BUILD_TYPE }}' == 'Debug' ]; then
|
|
|
|
CMAKE_EXTRA_ARGS+=('-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebug')
|
|
|
|
else
|
|
|
|
CMAKE_EXTRA_ARGS+=('-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded')
|
2022-03-28 13:38:35 +00:00
|
|
|
fi
|
2022-04-01 00:55:20 +00:00
|
|
|
elif [ '${{ matrix.config.compiler }}' == 'mingw' ]; then
|
2022-04-02 14:48:05 +00:00
|
|
|
CMAKE_EXTRA_ARGS+=('-DCMAKE_TOOLCHAIN_FILE=scripts/Cross-MinGW-${{ steps.windows-identify.outputs.mingw-target }}.cmake')
|
2022-12-31 23:40:00 +00:00
|
|
|
if [ '${{ matrix.config.arch }}' == 'x86' ]; then
|
|
|
|
CMAKE_EXTRA_ARGS+=('-DSUPPORT_XP=ON')
|
|
|
|
fi
|
2022-03-28 13:38:35 +00:00
|
|
|
elif [ '${{ runner.os }}' == 'macOS' ]; then
|
2022-08-05 20:39:13 +00:00
|
|
|
if [ '${{ matrix.config.arch }}' == 'arm64' ]; then
|
|
|
|
CMAKE_EXTRA_ARGS+=('-DCMAKE_OSX_DEPLOYMENT_TARGET="11.0"' '-DCMAKE_OSX_ARCHITECTURES=arm64')
|
|
|
|
else
|
|
|
|
CMAKE_EXTRA_ARGS+=('-DCMAKE_OSX_DEPLOYMENT_TARGET="10.9"')
|
|
|
|
fi
|
2022-08-07 00:39:07 +00:00
|
|
|
elif [ '${{ runner.os }}' == 'Linux' ] && [ '${{ matrix.config.arch }}' == 'armhf' ]; then
|
2022-08-07 00:22:00 +00:00
|
|
|
CMAKE_EXTRA_ARGS+=('-DCMAKE_TOOLCHAIN_FILE=scripts/Cross-Linux-armhf.cmake')
|
2022-03-28 13:38:35 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
cmake \
|
|
|
|
-B ${PWD}/build \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
|
|
|
|
-DWARNINGS_ARE_ERRORS=${USE_WAE} \
|
2023-05-25 22:23:52 +00:00
|
|
|
-DWITH_DEMOS=OFF -DWITH_INSTRUMENTS=OFF -DWITH_WAVETABLES=OFF \
|
2022-03-28 13:38:35 +00:00
|
|
|
"${CMAKE_EXTRA_ARGS[@]}"
|
|
|
|
|
2022-04-08 21:30:08 +00:00
|
|
|
- name: Build
|
2022-03-28 13:38:35 +00:00
|
|
|
run: |
|
|
|
|
cmake \
|
|
|
|
--build ${PWD}/build \
|
|
|
|
--config ${{ env.BUILD_TYPE }} \
|
2022-04-09 19:22:25 +00:00
|
|
|
--parallel ${{ steps.build-cores.outputs.amount }}
|
2022-03-28 13:38:35 +00:00
|
|
|
|
|
|
|
- name: Package [Windows]
|
2022-04-01 00:55:20 +00:00
|
|
|
if: ${{ runner.os == 'Windows' || matrix.config.compiler == 'mingw' }}
|
2022-03-28 13:38:35 +00:00
|
|
|
run: |
|
|
|
|
binPath=build
|
|
|
|
if [ '${{ matrix.config.compiler }}' == 'msvc' ]; then
|
|
|
|
binPath="${binPath}/${{ env.BUILD_TYPE }}"
|
|
|
|
fi
|
2022-05-26 23:11:59 +00:00
|
|
|
# always strip on MinGW as it generate massive artifacts
|
2022-05-26 23:17:04 +00:00
|
|
|
#if [ '${{ matrix.config.compiler }}' == 'mingw' ]; then
|
|
|
|
# # arch-specific strip prefix
|
|
|
|
# # TODO maybe extract from cross toolchain files?
|
|
|
|
# toolPrefix="-w64-mingw32-"
|
|
|
|
# if [ '${{ matrix.config.arch }}' == 'x86_64' ]; then
|
|
|
|
# toolPrefix="x86_64${toolPrefix}"
|
|
|
|
# else
|
|
|
|
# toolPrefix="i686${toolPrefix}"
|
|
|
|
# fi
|
|
|
|
# ${toolPrefix}strip -s "${binPath}/furnace.exe"
|
|
|
|
#fi
|
2022-03-28 13:38:35 +00:00
|
|
|
|
2022-04-02 16:29:37 +00:00
|
|
|
mkdir ${{ steps.package-identify.outputs.filename }}
|
|
|
|
pushd ${{ steps.package-identify.outputs.filename }}
|
2022-03-28 13:38:35 +00:00
|
|
|
|
|
|
|
cp -v ../LICENSE LICENSE.txt
|
|
|
|
cp -v ../README.md README.txt
|
2023-02-19 22:36:51 +00:00
|
|
|
cp -vr ../papers ../${binPath}/furnace.exe ./
|
2023-01-18 21:29:16 +00:00
|
|
|
if [ '${{ matrix.config.compiler }}' == 'msvc' ]; then
|
|
|
|
cp -v ../${binPath}/furnace.pdb ./
|
|
|
|
fi
|
2022-12-08 09:57:56 +00:00
|
|
|
sha256sum ../${binPath}/furnace.exe > checksum.txt
|
2022-03-28 13:38:35 +00:00
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
- name: Package [macOS]
|
|
|
|
if: ${{ runner.os == 'macOS' }}
|
|
|
|
run: |
|
|
|
|
pushd build
|
|
|
|
cpack
|
2022-04-02 14:48:05 +00:00
|
|
|
mv Furnace-*-Darwin.dmg ../${{ steps.package-identify.outputs.filename }}
|
2022-03-28 13:38:35 +00:00
|
|
|
popd
|
|
|
|
|
2022-08-07 00:22:00 +00:00
|
|
|
- name: Package [Linux]
|
2022-04-01 00:55:20 +00:00
|
|
|
if: ${{ runner.os == 'Linux' && matrix.config.compiler != 'mingw' }}
|
2022-03-28 13:38:35 +00:00
|
|
|
run: |
|
2022-05-26 23:17:04 +00:00
|
|
|
#if [ '${{ env.BUILD_TYPE }}' == 'Release' ]; then
|
|
|
|
# strip -s build/furnace
|
|
|
|
#fi
|
2022-03-28 13:38:35 +00:00
|
|
|
|
2023-05-25 19:36:30 +00:00
|
|
|
mkdir -p target/furnace
|
|
|
|
make -C ${PWD}/build DESTDIR=${PWD}/target/furnace install
|
|
|
|
pushd target/furnace
|
2022-03-28 13:38:35 +00:00
|
|
|
|
2023-05-25 19:36:30 +00:00
|
|
|
cp -v ../../res/logo.png .DirIcon
|
|
|
|
|
|
|
|
cd usr
|
|
|
|
|
|
|
|
mv bin/furnace ..
|
|
|
|
rmdir bin
|
|
|
|
|
|
|
|
rm -r share/applications
|
|
|
|
rm -r share/doc
|
|
|
|
rm -r share/icons
|
|
|
|
rm -r share/licenses
|
|
|
|
rm -r share/metainfo
|
|
|
|
|
|
|
|
rmdir share
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
cp ../../LICENSE .
|
|
|
|
cp ../../README.md .
|
|
|
|
cp -r ../../papers papers
|
|
|
|
rmdir usr
|
|
|
|
|
2022-03-28 13:38:35 +00:00
|
|
|
popd
|
|
|
|
|
2023-05-26 07:32:43 +00:00
|
|
|
cd target
|
|
|
|
|
2023-05-26 06:32:13 +00:00
|
|
|
tar -zcv -f ../${{ steps.package-identify.outputs.filename }} furnace
|
|
|
|
|
2022-03-28 13:38:35 +00:00
|
|
|
- name: Upload artifact
|
2022-06-07 18:55:10 +00:00
|
|
|
if: ${{ github.repository == 'tildearrow/furnace' && github.ref_name == 'master' }}
|
2022-11-06 04:45:56 +00:00
|
|
|
uses: actions/upload-artifact@v3.1.1
|
2022-03-28 13:38:35 +00:00
|
|
|
with:
|
2022-04-02 14:48:05 +00:00
|
|
|
name: ${{ steps.package-identify.outputs.id }}
|
|
|
|
path: ${{ steps.package-identify.outputs.filename }}
|