Skip to content

Commit

Permalink
fix: Release workflow failure on scheduled runs (#836)
Browse files Browse the repository at this point in the history
* fix: Set `live-run` to false on schedule event

* chore: Remove redundant publish-docker workflow
  • Loading branch information
fuzzypixelz authored Mar 15, 2024
1 parent c401e3a commit 65f06fd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 96 deletions.
88 changes: 0 additions & 88 deletions .github/workflows/publish-docker.yml

This file was deleted.

17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
type: boolean
description: If false (or undefined) the workflow runs in dry-run mode (i.e. with no side-effects)
required: false
default: false
version:
type: string
description: Release number. If undefined, the workflow auto-generates a version using git-describe
Expand All @@ -33,7 +34,7 @@ jobs:
uses: eclipse-zenoh/ci/.github/workflows/tag-crates.yml@main
with:
repo: ${{ github.repository }}
live-run: ${{ inputs.live-run }}
live-run: ${{ inputs.live-run || false }}
version: ${{ inputs.version }}
inter-deps-pattern: zenoh.*
secrets: inherit
Expand Down Expand Up @@ -68,7 +69,7 @@ jobs:
uses: eclipse-zenoh/ci/.github/workflows/release-crates-cargo.yml@main
with:
repos: ${{ github.repository }}
live-run: ${{ inputs.live-run }}
live-run: ${{ inputs.live-run || false }}
branch: ${{ needs.tag.outputs.branch }}
inter-deps-pattern: zenoh.*
secrets: inherit
Expand All @@ -79,7 +80,7 @@ jobs:
uses: eclipse-zenoh/ci/.github/workflows/release-crates-debian.yml@main
with:
no-build: true
live-run: ${{ inputs.live-run }}
live-run: ${{ inputs.live-run || false }}
version: ${{ needs.tag.outputs.version }}
repo: ${{ github.repository }}
branch: ${{ needs.tag.outputs.branch }}
Expand All @@ -92,7 +93,7 @@ jobs:
with:
no-build: true
repo: ${{ github.repository }}
live-run: ${{ inputs.live-run }}
live-run: ${{ inputs.live-run || false }}
version: ${{ needs.tag.outputs.version }}
branch: ${{ needs.tag.outputs.branch }}
artifact-patterns: |
Expand All @@ -112,7 +113,7 @@ jobs:
uses: eclipse-zenoh/ci/.github/workflows/release-crates-eclipse.yml@main
with:
no-build: true
live-run: ${{ inputs.live-run }}
live-run: ${{ inputs.live-run || false }}
version: ${{ needs.tag.outputs.version }}
repo: ${{ github.repository }}
branch: ${{ needs.tag.outputs.branch }}
Expand All @@ -129,7 +130,7 @@ jobs:
uses: eclipse-zenoh/ci/.github/workflows/release-crates-github.yml@main
with:
no-build: true
live-run: ${{ inputs.live-run }}
live-run: ${{ inputs.live-run || false }}
version: ${{ needs.tag.outputs.version }}
repo: ${{ github.repository }}
branch: ${{ needs.tag.outputs.branch }}
Expand All @@ -145,7 +146,7 @@ jobs:
uses: eclipse-zenoh/ci/.github/workflows/release-crates-dockerhub.yml@main
with:
no-build: true
live-run: ${{ inputs.live-run }}
live-run: ${{ inputs.live-run || false }}
version: ${{ needs.tag.outputs.version }}
repo: ${{ github.repository }}
tags: "eclipse/zenoh:${{ needs.tag.outputs.version }}"
Expand All @@ -165,7 +166,7 @@ jobs:
uses: eclipse-zenoh/ci/.github/workflows/release-crates-ghcr.yml@main
with:
no-build: true
live-run: ${{ inputs.live-run }}
live-run: ${{ inputs.live-run || false }}
version: ${{ needs.tag.outputs.version }}
repo: ${{ github.repository }}
tags: "${{ github.repository }}:${{ needs.tag.outputs.version }}"
Expand Down

0 comments on commit 65f06fd

Please sign in to comment.