Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: enable publish workflows #26

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 58 additions & 58 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,67 +73,67 @@ jobs:
^zenoh_plugin_remote_api(2)?\.dll$
secrets: inherit

# cargo:
# needs: tag
# name: Publish Cargo crates
# uses: eclipse-zenoh/ci/.github/workflows/release-crates-cargo.yml@main
# with:
# repo: ${{ github.repository }}
# live-run: ${{ inputs.live-run || false }}
# branch: ${{ needs.tag.outputs.branch }}
# # - In dry-run mode, we need to publish eclipse-zenoh/zenoh before this
# # repository, in which case the version of zenoh dependecies are left as
# # is and thus point to the main branch of eclipse-zenoh/zenoh.
# # - In live-run mode, we assume that eclipse-zenoh/zenoh is already
# # published as this workflow can't be responsible for publishing it
# unpublished-deps-patterns: ${{ !(inputs.live-run || false) && 'zenoh.*' || '' }}
# unpublished-deps-repos: ${{ !(inputs.live-run || false) && 'eclipse-zenoh/zenoh' || '' }}
# secrets: inherit
cargo:
needs: tag
name: Publish Cargo crates
uses: eclipse-zenoh/ci/.github/workflows/release-crates-cargo.yml@main
with:
repo: ${{ github.repository }}
live-run: ${{ inputs.live-run || false }}
branch: ${{ needs.tag.outputs.branch }}
# - In dry-run mode, we need to publish eclipse-zenoh/zenoh before this
# repository, in which case the version of zenoh dependecies are left as
# is and thus point to the main branch of eclipse-zenoh/zenoh.
# - In live-run mode, we assume that eclipse-zenoh/zenoh is already
# published as this workflow can't be responsible for publishing it
unpublished-deps-patterns: ${{ !(inputs.live-run || false) && 'zenoh.*' || '' }}
unpublished-deps-repos: ${{ !(inputs.live-run || false) && 'eclipse-zenoh/zenoh' || '' }}
secrets: inherit

# debian:
# name: Publish Debian packages
# needs: [tag, build-debian]
# uses: eclipse-zenoh/ci/.github/workflows/release-crates-debian.yml@main
# with:
# no-build: true
# live-run: ${{ inputs.live-run || false }}
# version: ${{ needs.tag.outputs.version }}
# repo: ${{ github.repository }}
# branch: ${{ needs.tag.outputs.branch }}
# installation-test: false
# secrets: inherit
debian:
name: Publish Debian packages
needs: [tag, build-debian]
uses: eclipse-zenoh/ci/.github/workflows/release-crates-debian.yml@main
with:
no-build: true
live-run: ${{ inputs.live-run || false }}
version: ${{ needs.tag.outputs.version }}
repo: ${{ github.repository }}
branch: ${{ needs.tag.outputs.branch }}
installation-test: false
secrets: inherit

# homebrew:
# name: Publish Homebrew formulae
# needs: [tag, build-standalone]
# uses: eclipse-zenoh/ci/.github/workflows/release-crates-homebrew.yml@main
# with:
# no-build: true
# repo: ${{ github.repository }}
# live-run: ${{ inputs.live-run || false }}
# version: ${{ needs.tag.outputs.version }}
# branch: ${{ needs.tag.outputs.branch }}
# artifact-patterns: |
# ^libzenoh_plugin_remote_api(2)?\.dylib$
# formulae: |
# zenoh-plugin-remote-api
# secrets: inherit
homebrew:
name: Publish Homebrew formulae
needs: [tag, build-standalone]
uses: eclipse-zenoh/ci/.github/workflows/release-crates-homebrew.yml@main
with:
no-build: true
repo: ${{ github.repository }}
live-run: ${{ inputs.live-run || false }}
version: ${{ needs.tag.outputs.version }}
branch: ${{ needs.tag.outputs.branch }}
artifact-patterns: |
^libzenoh_plugin_remote_api(2)?\.dylib$
formulae: |
zenoh-plugin-remote-api
secrets: inherit

# eclipse:
# name: Publish artifacts to Eclipse downloads
# needs: [tag, build-standalone]
# uses: eclipse-zenoh/ci/.github/workflows/release-crates-eclipse.yml@main
# with:
# no-build: true
# live-run: ${{ inputs.live-run || false }}
# version: ${{ needs.tag.outputs.version }}
# repo: ${{ github.repository }}
# branch: ${{ needs.tag.outputs.branch }}
# artifact-patterns: |
# ^libzenoh_plugin_remote_api(2)?\.(dylib|so)$
# ^zenoh_plugin_remote_api(2)?\.dll$
# name: zenoh-plugin-remote-api
# secrets: inherit
eclipse:
name: Publish artifacts to Eclipse downloads
needs: [tag, build-standalone]
uses: eclipse-zenoh/ci/.github/workflows/release-crates-eclipse.yml@main
with:
no-build: true
live-run: ${{ inputs.live-run || false }}
version: ${{ needs.tag.outputs.version }}
repo: ${{ github.repository }}
branch: ${{ needs.tag.outputs.branch }}
artifact-patterns: |
^libzenoh_plugin_remote_api(2)?\.(dylib|so)$
^zenoh_plugin_remote_api(2)?\.dll$
name: zenoh-plugin-remote-api
secrets: inherit

github:
name: Publish artifacts to GitHub Releases
Expand Down
Loading