mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-01-11 18:09:30 +08:00
+ friendly name for linux gen emu config workflow
+ don't fail job on failure of release/debug + update workflows to add on-success condition in upload
This commit is contained in:
parent
e19d2a423f
commit
6afb4560d0
@ -1,4 +1,4 @@
|
||||
name: Generate emu config (Windows)
|
||||
name: Generate emu config (Linux)
|
||||
|
||||
on:
|
||||
push:
|
||||
|
10
.github/workflows/build-linux.yml
vendored
10
.github/workflows/build-linux.yml
vendored
@ -3,8 +3,8 @@ name: Linux-build
|
||||
on:
|
||||
push:
|
||||
branches: [ "ci_runner" ]
|
||||
pull_request:
|
||||
branches: [ "ci_runner" ]
|
||||
# pull_request:
|
||||
# branches: [ "ci_runner" ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@ -87,11 +87,13 @@ jobs:
|
||||
|
||||
### build + upload release
|
||||
- name: Build release mode
|
||||
continue-on-error: true
|
||||
shell: bash
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: "sudo chmod 777 build_linux.sh && ./build_linux.sh release"
|
||||
|
||||
- name: Upload build (release)
|
||||
if: success()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "build-linux-release-${{ github.sha }}"
|
||||
@ -101,11 +103,13 @@ jobs:
|
||||
|
||||
### build + upload debug
|
||||
- name: Build debug mode
|
||||
continue-on-error: true
|
||||
shell: bash
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: build_linux.sh debug
|
||||
run: "sudo chmod 777 build_linux.sh && ./build_linux.sh debug"
|
||||
|
||||
- name: Upload build (debug)
|
||||
if: success()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "build-linux-debug-${{ github.sha }}"
|
||||
|
8
.github/workflows/build-win.yml
vendored
8
.github/workflows/build-win.yml
vendored
@ -3,8 +3,8 @@ name: Windows-build
|
||||
on:
|
||||
push:
|
||||
branches: [ "ci_runner" ]
|
||||
pull_request:
|
||||
branches: [ "ci_runner" ]
|
||||
# pull_request:
|
||||
# branches: [ "ci_runner" ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@ -93,11 +93,13 @@ jobs:
|
||||
|
||||
### build + upload release
|
||||
- name: Build release mode
|
||||
continue-on-error: true
|
||||
shell: cmd
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: build_win.bat release
|
||||
|
||||
- name: Upload build (release)
|
||||
if: success()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "build-win-release-${{ github.sha }}"
|
||||
@ -107,11 +109,13 @@ jobs:
|
||||
|
||||
### build + upload debug
|
||||
- name: Build debug mode
|
||||
continue-on-error: true
|
||||
shell: cmd
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: build_win.bat debug
|
||||
|
||||
- name: Upload build (debug)
|
||||
if: success()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "build-win-debug-${{ github.sha }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user