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
|
contents: write
|
||||||
|
|
||||||
env:
|
env:
|
||||||
THIRD_PARTY_BASE_DIR: 'third-party'
|
|
||||||
|
|
||||||
DEPS_CACHE_KEY: emu-deps-linux
|
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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -95,7 +95,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: "build-linux-release-${{ github.sha }}"
|
name: "build-linux-release-${{ github.sha }}"
|
||||||
path: "${{ env.PACKAGE_ROOT_PATH }}/release/"
|
path: "${{ env.PACKAGE_BASE_DIR }}/release/"
|
||||||
if-no-files-found: 'error'
|
if-no-files-found: 'error'
|
||||||
compression-level: 9
|
compression-level: 9
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
@ -117,7 +117,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: "build-linux-debug-${{ github.sha }}"
|
name: "build-linux-debug-${{ github.sha }}"
|
||||||
path: "${{ env.PACKAGE_ROOT_PATH }}/debug/"
|
path: "${{ env.PACKAGE_BASE_DIR }}/debug/"
|
||||||
if-no-files-found: 'error'
|
if-no-files-found: 'error'
|
||||||
compression-level: 9
|
compression-level: 9
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
@ -127,5 +127,5 @@ jobs:
|
|||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
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
|
contents: write
|
||||||
|
|
||||||
env:
|
env:
|
||||||
THIRD_PARTY_BASE_DIR: 'third-party'
|
|
||||||
DEPS_CACHE_KEY: emu-deps-win
|
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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -101,7 +101,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: "build-win-release-${{ github.sha }}"
|
name: "build-win-release-${{ github.sha }}"
|
||||||
path: "${{ env.PACKAGE_ROOT_PATH }}/release/"
|
path: "${{ env.PACKAGE_BASE_DIR }}/release/"
|
||||||
if-no-files-found: 'error'
|
if-no-files-found: 'error'
|
||||||
compression-level: 9
|
compression-level: 9
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
@ -123,7 +123,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: "build-win-debug-${{ github.sha }}"
|
name: "build-win-debug-${{ github.sha }}"
|
||||||
path: "${{ env.PACKAGE_ROOT_PATH }}/debug/"
|
path: "${{ env.PACKAGE_BASE_DIR }}/debug/"
|
||||||
if-no-files-found: 'error'
|
if-no-files-found: 'error'
|
||||||
compression-level: 9
|
compression-level: 9
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
@ -133,5 +133,5 @@ jobs:
|
|||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: "${{ env.PACKAGE_ROOT_PATH }}/**/*"
|
files: "${{ env.PACKAGE_BASE_DIR }}/**/*"
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user