+ 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:
ota 2023-12-16 09:56:33 +02:00 committed by otavepto
parent e19d2a423f
commit 6afb4560d0
3 changed files with 14 additions and 6 deletions

View File

@ -1,4 +1,4 @@
name: Generate emu config (Windows)
name: Generate emu config (Linux)
on:
push:

View File

@ -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 }}"

View File

@ -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 }}"