From 0afa2d75aa24801287e41e182ea359c0c35523da Mon Sep 17 00:00:00 2001 From: Exzap <13877693+Exzap@users.noreply.github.com> Date: Sun, 11 Sep 2022 06:41:19 +0200 Subject: [PATCH] CI: build.yml no longer invokes itself, always produce artifact (#243) - Build check is now a separate workflow - Build with release config instead of debug - Upload artifacts --- .github/workflows/build.yml | 12 ----------- .github/workflows/build_check.yml | 21 +++++++++++++++++++ ...al.yml => deploy_experimental_release.yml} | 0 .../{deploy.yml => deploy_stable_release.yml} | 0 4 files changed, 21 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/build_check.yml rename .github/workflows/{deploy_experimental.yml => deploy_experimental_release.yml} (100%) rename .github/workflows/{deploy.yml => deploy_stable_release.yml} (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 29af2648..362cf3bc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,18 +1,6 @@ name: Build Cemu on: - pull_request: - paths-ignore: - - "*.md" - types: - - opened - - synchronize - - reopened - push: - paths-ignore: - - "*.md" - branches: - - main workflow_call: inputs: deploymode: diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml new file mode 100644 index 00000000..49ef79e9 --- /dev/null +++ b/.github/workflows/build_check.yml @@ -0,0 +1,21 @@ +name: Build check +on: + pull_request: + paths-ignore: + - "*.md" + types: + - opened + - synchronize + - reopened + push: + paths-ignore: + - "*.md" + branches: + - main + +jobs: + build: + uses: ./.github/workflows/build.yml + with: + deploymode: release + experimentalversion: 999999 diff --git a/.github/workflows/deploy_experimental.yml b/.github/workflows/deploy_experimental_release.yml similarity index 100% rename from .github/workflows/deploy_experimental.yml rename to .github/workflows/deploy_experimental_release.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy_stable_release.yml similarity index 100% rename from .github/workflows/deploy.yml rename to .github/workflows/deploy_stable_release.yml