Skip to content

Release crates (Eclipse) #2

Release crates (Eclipse)

Release crates (Eclipse) #2

name: Release crates (Eclipse)
on:
workflow_call:
inputs:
repo:
type: string
required: true
live-run:
type: string
required: true
version:
type: string
required: true
branch:
type: string
required: true
artifact-patterns:
type: string
required: true
exclude-builds:
type: string
required: false
name:
type: string
required: true
no-build:
type: boolean
required: false
default: false
workflow_dispatch:
inputs:
repo:
type: string
required: true
live-run:
type: string
required: true
version:
type: string
required: true
branch:
type: string
required: true
artifact-patterns:
type: string
required: true
exclude-builds:
type: string
required: false
name:
type: string
required: true
no-build:
type: boolean
required: false
default: false
jobs:
build:
if: ${{ !inputs.no-build }}
uses: eclipse-zenoh/ci/.github/workflows/build-crates-standalone.yml@main
with:
repo: ${{ inputs.repo }}
version: ${{ inputs.version }}
branch: ${{ inputs.branch }}
artifact-patterns: ${{ inputs.artifact-patterns }}
exclude-builds: ${{ inputs.exclude-builds }}
secrets: inherit
publish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: eclipse-zenoh/ci/publish-crates-eclipse@main
with:
live-run: ${{ inputs.live-run }}
version: ${{ inputs.version }}
ssh-host: [email protected]
ssh-host-path: /home/data/httpd/download.eclipse.org/${{ inputs.name }}
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
ssh-passphrase: ${{ secrets.SSH_PASSPHRASE }}