Skip to content

Release crates (Debian) #18

Release crates (Debian)

Release crates (Debian) #18

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