diff --git a/.github/workflows/build-gen_emu_config-linux.yml b/.github/workflows/build-gen_emu_config-linux.yml index 95c0dafd..4181113a 100644 --- a/.github/workflows/build-gen_emu_config-linux.yml +++ b/.github/workflows/build-gen_emu_config-linux.yml @@ -11,14 +11,13 @@ on: pull_request: branches: [ "dev" ] workflow_dispatch: - # nothing + # allows manual trigger permissions: contents: write env: ARTIFACT_NAME: "generate_emu_config-linux-${{ github.sha }}" - ARTIFACT_ROOT_PATH: "scripts/bin/linux" PACKAGE_ROOT_PATH: "scripts/bin/package" jobs: diff --git a/.github/workflows/build-gen_emu_config-win.yml b/.github/workflows/build-gen_emu_config-win.yml index 0a4cc429..2368a302 100644 --- a/.github/workflows/build-gen_emu_config-win.yml +++ b/.github/workflows/build-gen_emu_config-win.yml @@ -11,18 +11,15 @@ on: pull_request: branches: [ "dev" ] workflow_dispatch: - # nothing + # allows manual trigger permissions: contents: write env: ARTIFACT_NAME: "generate_emu_config-win-${{ github.sha }}" - ARTIFACT_ROOT_PATH: "scripts/bin/win" PACKAGE_ROOT_PATH: "scripts/bin/package" - # Expected format {owner}/{repo}. - DEPS_REPO: 'otavepto/gbe_fork' THIRD_PARTY_BASE_DIR: 'third-party' jobs: @@ -41,7 +38,6 @@ jobs: - name: Clone third-party deps (deps/win) uses: actions/checkout@v4 with: - repository: "${{env.DEPS_REPO}}" ref: 'third-party/deps/win' path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win" diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index ca727551..eedf342e 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -11,14 +11,12 @@ on: pull_request: branches: [ "dev" ] workflow_dispatch: - # nothing + # allows manual trigger permissions: contents: write env: - # Expected format {owner}/{repo}. - DEPS_REPO: 'otavepto/gbe_fork' THIRD_PARTY_BASE_DIR: 'third-party' DEPS_CACHE_KEY: emu-deps-linux @@ -48,19 +46,15 @@ jobs: if: steps.emu-deps-cache-step.outputs.cache-hit != 'true' uses: actions/checkout@v4 with: - repository: "${{env.DEPS_REPO}}" ref: 'third-party/deps/linux' path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/linux" - lfs: true - name: Clone third-party deps (deps/common) if: steps.emu-deps-cache-step.outputs.cache-hit != 'true' uses: actions/checkout@v4 with: - repository: "${{env.DEPS_REPO}}" ref: 'third-party/deps/common' path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/common" - lfs: true - name: Build deps if: steps.emu-deps-cache-step.outputs.cache-hit != 'true' @@ -92,10 +86,8 @@ jobs: - name: Clone third-party build helpers (build/linux) uses: actions/checkout@v4 with: - repository: "${{env.DEPS_REPO}}" ref: 'third-party/build/linux' path: "${{env.THIRD_PARTY_BASE_DIR}}/build/linux" - lfs: true ### build + upload release - name: Build release mode diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml index 8de954e9..e96d7a76 100644 --- a/.github/workflows/build-win.yml +++ b/.github/workflows/build-win.yml @@ -11,14 +11,12 @@ on: pull_request: branches: [ "dev" ] workflow_dispatch: - # nothing + # allows manual trigger permissions: contents: write env: - # Expected format {owner}/{repo}. - DEPS_REPO: 'otavepto/gbe_fork' THIRD_PARTY_BASE_DIR: 'third-party' DEPS_CACHE_KEY: emu-deps-win DEPS_CACHE_DIR: build-win-deps @@ -47,28 +45,22 @@ jobs: if: steps.emu-deps-cache-step.outputs.cache-hit != 'true' uses: actions/checkout@v4 with: - repository: "${{env.DEPS_REPO}}" ref: 'third-party/deps/win' path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win" - lfs: true - name: Clone third-party deps (deps/common) if: steps.emu-deps-cache-step.outputs.cache-hit != 'true' uses: actions/checkout@v4 with: - repository: "${{env.DEPS_REPO}}" ref: 'third-party/deps/common' path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/common" - lfs: true - name: Clone third-party deps (common/win) if: steps.emu-deps-cache-step.outputs.cache-hit != 'true' uses: actions/checkout@v4 with: - repository: "${{env.DEPS_REPO}}" ref: 'third-party/common/win' path: "${{env.THIRD_PARTY_BASE_DIR}}/common/win" - lfs: true - name: Build deps if: steps.emu-deps-cache-step.outputs.cache-hit != 'true' @@ -97,15 +89,12 @@ jobs: - name: Clone third-party build helpers (common/win) uses: actions/checkout@v4 with: - repository: "${{env.DEPS_REPO}}" ref: 'third-party/common/win' path: "${{env.THIRD_PARTY_BASE_DIR}}/common/win" - lfs: true - name: Clone third-party deps (deps/win) uses: actions/checkout@v4 with: - repository: "${{env.DEPS_REPO}}" ref: 'third-party/deps/win' path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win"