Skip to content

Commit

Permalink
chore: enable publish workflows (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomatsubara authored Nov 8, 2024
1 parent b543ae1 commit 8e6e366
Showing 1 changed file with 58 additions and 58 deletions.
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

0 comments on commit 8e6e366

Please sign in to comment.