fix(release): Fix manual workflow trigger (#1401)
This commit is contained in:
25
.github/workflows/create_release_assets.yml
vendored
25
.github/workflows/create_release_assets.yml
vendored
@@ -5,14 +5,9 @@ on:
|
|||||||
types: [ release-created ]
|
types: [ release-created ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
platform:
|
bsdonly:
|
||||||
description: "Run only this native platform (leave empty for all)"
|
description: "Run only on freebsd (true/false)?"
|
||||||
required: false
|
required: true
|
||||||
default: ""
|
|
||||||
target:
|
|
||||||
description: "Run only this cross target (leave empty for all)"
|
|
||||||
required: false
|
|
||||||
default: ""
|
|
||||||
run_trigger:
|
run_trigger:
|
||||||
description: "Run the trigger job after builds?"
|
description: "Run the trigger job after builds?"
|
||||||
required: false
|
required: false
|
||||||
@@ -41,8 +36,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
if: >
|
if: >
|
||||||
github.event_name == 'repository_dispatch' ||
|
github.event_name == 'repository_dispatch' ||
|
||||||
github.event.inputs.platform == '' ||
|
github.event.inputs.bsdonly == 'false'
|
||||||
github.event.inputs.platform == matrix.platform
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.0
|
||||||
|
|
||||||
@@ -163,17 +157,16 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
target:
|
target:
|
||||||
[
|
[
|
||||||
"aarch64-unknown-linux-gnu",
|
# "aarch64-unknown-linux-gnu",
|
||||||
"armv7-unknown-linux-gnueabihf",
|
# "armv7-unknown-linux-gnueabihf",
|
||||||
"x86_64-unknown-linux-musl",
|
# "x86_64-unknown-linux-musl",
|
||||||
"aarch64-unknown-linux-musl",
|
# "aarch64-unknown-linux-musl",
|
||||||
"x86_64-unknown-freebsd",
|
"x86_64-unknown-freebsd",
|
||||||
]
|
]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: >
|
if: >
|
||||||
github.event_name == 'repository_dispatch' ||
|
github.event_name == 'repository_dispatch' ||
|
||||||
github.event.inputs.target == '' ||
|
github.event.inputs.bsdonly == 'true'
|
||||||
github.event.inputs.target == matrix.target
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user