fix(release): Fix FreeBSD build (#1404)
This commit is contained in:
24
.github/workflows/create_release_assets.yml
vendored
24
.github/workflows/create_release_assets.yml
vendored
@@ -3,15 +3,6 @@ name: Publish release files for CD native and non-cd-native environments
|
|||||||
on:
|
on:
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [ release-created ]
|
types: [ release-created ]
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
bsdonly:
|
|
||||||
description: "Run only on freebsd (true/false)?"
|
|
||||||
required: true
|
|
||||||
run_trigger:
|
|
||||||
description: "Run the trigger job after builds?"
|
|
||||||
required: false
|
|
||||||
default: "false"
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -34,9 +25,6 @@ jobs:
|
|||||||
# https://github.com/topgrade-rs/topgrade/issues/1095
|
# https://github.com/topgrade-rs/topgrade/issues/1095
|
||||||
platform: [ ubuntu-22.04, macos-latest, macos-15-intel, windows-latest ]
|
platform: [ ubuntu-22.04, macos-latest, macos-15-intel, windows-latest ]
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
if: >
|
|
||||||
github.event_name == 'repository_dispatch' ||
|
|
||||||
github.event.inputs.bsdonly == 'false'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.0
|
||||||
|
|
||||||
@@ -157,16 +145,13 @@ 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: >
|
|
||||||
github.event_name == 'repository_dispatch' ||
|
|
||||||
github.event.inputs.bsdonly == 'true'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.0
|
||||||
|
|
||||||
@@ -287,7 +272,6 @@ jobs:
|
|||||||
triggers:
|
triggers:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [ native_build, cross_build ]
|
needs: [ native_build, cross_build ]
|
||||||
if: ${{ github.event_name == 'repository_dispatch' && github.event.inputs.run_trigger == 'true' }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Trigger workflows
|
- name: Trigger workflows
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user