mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 19:25:35 +08:00
update Windows & Linux emu workflow scripts to use the new folder structure
This commit is contained in:
parent
90fb3d7f65
commit
5d54d8df7b
12
.github/workflows/build-linux.yml
vendored
12
.github/workflows/build-linux.yml
vendored
@ -17,12 +17,12 @@ permissions:
|
||||
contents: write
|
||||
|
||||
env:
|
||||
THIRD_PARTY_BASE_DIR: 'third-party'
|
||||
|
||||
DEPS_CACHE_KEY: emu-deps-linux
|
||||
DEPS_CACHE_DIR: build-linux-deps
|
||||
DEPS_CACHE_DIR: build/linux/deps
|
||||
|
||||
PACKAGE_ROOT_PATH: "build-linux/package"
|
||||
PACKAGE_BASE_DIR: "build/linux/package"
|
||||
THIRD_PARTY_BASE_DIR: 'third-party'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -95,7 +95,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "build-linux-release-${{ github.sha }}"
|
||||
path: "${{ env.PACKAGE_ROOT_PATH }}/release/"
|
||||
path: "${{ env.PACKAGE_BASE_DIR }}/release/"
|
||||
if-no-files-found: 'error'
|
||||
compression-level: 9
|
||||
retention-days: 1
|
||||
@ -117,7 +117,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "build-linux-debug-${{ github.sha }}"
|
||||
path: "${{ env.PACKAGE_ROOT_PATH }}/debug/"
|
||||
path: "${{ env.PACKAGE_BASE_DIR }}/debug/"
|
||||
if-no-files-found: 'error'
|
||||
compression-level: 9
|
||||
retention-days: 1
|
||||
@ -127,5 +127,5 @@ jobs:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: "${{ env.PACKAGE_ROOT_PATH }}/**/*"
|
||||
files: "${{ env.PACKAGE_BASE_DIR }}/**/*"
|
||||
|
12
.github/workflows/build-win.yml
vendored
12
.github/workflows/build-win.yml
vendored
@ -17,11 +17,11 @@ permissions:
|
||||
contents: write
|
||||
|
||||
env:
|
||||
THIRD_PARTY_BASE_DIR: 'third-party'
|
||||
DEPS_CACHE_KEY: emu-deps-win
|
||||
DEPS_CACHE_DIR: build-win-deps
|
||||
DEPS_CACHE_DIR: build/win/deps
|
||||
|
||||
PACKAGE_ROOT_PATH: "build-win/package"
|
||||
PACKAGE_BASE_DIR: "build/win/package"
|
||||
THIRD_PARTY_BASE_DIR: 'third-party'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -101,7 +101,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "build-win-release-${{ github.sha }}"
|
||||
path: "${{ env.PACKAGE_ROOT_PATH }}/release/"
|
||||
path: "${{ env.PACKAGE_BASE_DIR }}/release/"
|
||||
if-no-files-found: 'error'
|
||||
compression-level: 9
|
||||
retention-days: 1
|
||||
@ -123,7 +123,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "build-win-debug-${{ github.sha }}"
|
||||
path: "${{ env.PACKAGE_ROOT_PATH }}/debug/"
|
||||
path: "${{ env.PACKAGE_BASE_DIR }}/debug/"
|
||||
if-no-files-found: 'error'
|
||||
compression-level: 9
|
||||
retention-days: 1
|
||||
@ -133,5 +133,5 @@ jobs:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: "${{ env.PACKAGE_ROOT_PATH }}/**/*"
|
||||
files: "${{ env.PACKAGE_BASE_DIR }}/**/*"
|
||||
|
Loading…
Reference in New Issue
Block a user