Only package if needed
This commit is contained in:
parent
96d6204044
commit
2498d2c210
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -81,7 +81,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CMAKE_BUILD_TYPE: ${{matrix.CMAKE_BUILD_TYPE}}
|
CMAKE_BUILD_TYPE: ${{matrix.CMAKE_BUILD_TYPE}}
|
||||||
CMAKE_PREFIX_PATH: ${{steps.FETCH.outputs.CMAKE_PREFIX_PATH}}
|
CMAKE_PREFIX_PATH: ${{steps.FETCH.outputs.CMAKE_PREFIX_PATH}}
|
||||||
BUSTER_GITHUB_RUN: "true"
|
BUSTER_GITHUB_MAIN_RUN: ${{ github.ref == 'refs/heads/main' }}
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
|
@ -55,8 +55,8 @@ if [[ -z "${CMAKE_PREFIX_PATH-}" ]]; then
|
|||||||
CMAKE_PREFIX_PATH="$HOME/Downloads/llvm-$BIRTH_ARCH-$BIRTH_OS-$CMAKE_BUILD_TYPE"
|
CMAKE_PREFIX_PATH="$HOME/Downloads/llvm-$BIRTH_ARCH-$BIRTH_OS-$CMAKE_BUILD_TYPE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${BUSTER_GITHUB_RUN-}" ]]; then
|
if [[ -z "${BUSTER_GITHUB_MAIN_RUN-}" ]]; then
|
||||||
BUSTER_GITHUB_RUN=false
|
BUSTER_GITHUB_MAIN_RUN=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case $BIRTH_OS in
|
case $BIRTH_OS in
|
||||||
@ -102,7 +102,7 @@ if [ "$#" -ne 0 ]; then
|
|||||||
$build_dir/runner $@
|
$build_dir/runner $@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$BUSTER_GITHUB_RUN" == "true" ]; then
|
if [ "$BUSTER_GITHUB_MAIN_RUN" == "true" ]; then
|
||||||
case "$BIRTH_OS" in
|
case "$BIRTH_OS" in
|
||||||
windows)
|
windows)
|
||||||
OPT_EXTENSION=".exe";;
|
OPT_EXTENSION=".exe";;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user