mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-30 14:25:36 +08:00
remove hardcoded repo path + remove Git LFS flag since it's no longer needed
This commit is contained in:
parent
098a490d3a
commit
62afce33ca
@ -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:
|
||||
|
@ -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"
|
||||
|
||||
|
10
.github/workflows/build-linux.yml
vendored
10
.github/workflows/build-linux.yml
vendored
@ -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
|
||||
|
13
.github/workflows/build-win.yml
vendored
13
.github/workflows/build-win.yml
vendored
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user