update workflows

This commit is contained in:
Wengier 2022-05-28 00:04:24 -04:00
parent 92d7fb67f5
commit b30e56fd12
7 changed files with 14 additions and 14 deletions

View File

@ -11,7 +11,7 @@ jobs:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
if: github.event_name == 'workflow_dispatch' || contains('joncampbell123', github.actor) == false
if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
runs-on: windows-latest
defaults:
run:
@ -37,8 +37,8 @@ jobs:
copy build-scripts\mingw\bin\msys.bat mingw-get\msys\1.0
copy build-scripts\mingw\bin\runbuild.sh mingw-get\msys\1.0
copy build-scripts\mingw\bin\gawk.exe mingw-get\msys\1.0\bin
rem mingw-get\msys\1.0\msys.bat /mingw/msys/1.0/runbuild.sh build-mingw-hx-dos
if (-not(Test-Path -Path $top/src/dosbox-x.exe -PathType Leaf)) {exit 1}
mingw-get\msys\1.0\msys.bat /mingw/msys/1.0/runbuild.sh build-mingw-hx-dos
if (-not(Test-Path -Path src\dosbox-x.exe -PathType Leaf)) {exit 1}
- name: Package HX-DOS
shell: bash
run: |
@ -65,7 +65,7 @@ jobs:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
if: github.event_name == 'workflow_dispatch' || contains('joncampbell123', github.actor) == false
if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
runs-on: windows-latest
defaults:
run:
@ -94,8 +94,8 @@ jobs:
- name: Build MinGW lowend
shell: pwsh
run: |
rem mingw-get\msys\1.0\msys.bat /mingw/msys/1.0/runbuild.sh build-mingw-lowend
if (-not(Test-Path -Path $top/src/dosbox-x.exe -PathType Leaf)) {exit 1}
mingw-get\msys\1.0\msys.bat /mingw/msys/1.0/runbuild.sh build-mingw-lowend
if (-not(Test-Path -Path src\dosbox-x.exe -PathType Leaf)) {exit 1}
- name: Package MinGW lowend
run: |
top=`pwd`

View File

@ -11,7 +11,7 @@ jobs:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
if: github.event_name == 'workflow_dispatch' || contains('joncampbell123', github.actor) == false
if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs

View File

@ -11,7 +11,7 @@ jobs:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
if: github.event_name == 'workflow_dispatch' || contains('joncampbell123', github.actor) == false
if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
runs-on: macos-latest
steps:
- name: Cancel previous runs

View File

@ -11,7 +11,7 @@ jobs:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
if: github.event_name == 'workflow_dispatch' || contains('joncampbell123', github.actor) == false
if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
runs-on: windows-latest
defaults:
run:

View File

@ -11,7 +11,7 @@ jobs:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
if: github.event_name == 'workflow_dispatch' || contains('joncampbell123', github.actor) == false
if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
runs-on: windows-latest
defaults:
run:

View File

@ -11,7 +11,7 @@ jobs:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
if: github.event_name == 'workflow_dispatch' || contains('joncampbell123', github.actor) == false
if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
runs-on: windows-latest
defaults:
run:
@ -94,7 +94,7 @@ jobs:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
if: github.event_name == 'workflow_dispatch' || contains('joncampbell123', github.actor) == false
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' || contains('joncampbell123', github.actor) == false
runs-on: windows-latest
defaults:
run:

View File

@ -11,7 +11,7 @@ jobs:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
if: github.event_name == 'workflow_dispatch' || contains('joncampbell123', github.actor) == false
if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
runs-on: windows-latest
defaults:
run:
@ -94,7 +94,7 @@ jobs:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
if: github.event_name == 'workflow_dispatch' || contains('joncampbell123', github.actor) == false
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' || contains('joncampbell123', github.actor) == false
runs-on: windows-latest
defaults:
run: