Skip to content

Commit

Permalink
Merge pull request #6931 from drew2a/fix/ga_change_order
Browse files Browse the repository at this point in the history
GitHub Actions: Change order of upload value
  • Loading branch information
drew2a authored Jun 9, 2022
2 parents 2c36e94 + d082c6c commit d9c44f2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 21 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,23 @@ name: Ubuntu
on:
workflow_call:
inputs:
upload:
default: false
type: boolean
required: true

os:
default: ubuntu-latest
type: string
required: true
required: false

python-version:
default: 3.8
type: string
required: false

workflow_dispatch:
inputs:
upload:
description: Upload
default: true
default: false
type: boolean
required: true
required: false

workflow_dispatch:
inputs:
os:
description: Environment
default: ubuntu-latest
Expand All @@ -38,6 +32,12 @@ on:
type: string
required: true

upload:
description: Upload
default: true
type: boolean
required: true

jobs:
build:
runs-on: ${{ github.event.inputs.os || inputs.os }}
Expand Down
21 changes: 11 additions & 10 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ name: Windows
on:
workflow_call:
inputs:
upload:
default: false
type: boolean
required: false

os:
default: windows-latest
type: string
Expand All @@ -18,14 +13,13 @@ on:
type: string
required: false

workflow_dispatch:
inputs:
upload:
description: Upload
default: true
default: false
type: boolean
required: true
required: false

workflow_dispatch:
inputs:
os:
description: Environment
default: windows-latest
Expand All @@ -37,6 +31,13 @@ on:
default: '3.8'
type: string
required: true

upload:
description: Upload
default: true
type: boolean
required: true

jobs:
build:
runs-on: ${{ github.event.inputs.os || inputs.os }}
Expand Down

0 comments on commit d9c44f2

Please sign in to comment.