Files
n8n/.github/workflows/util-determine-current-version.yml
alighasami 3d5eaf9445
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
first commit
2026-03-17 16:22:57 +03:30

46 lines
1.3 KiB
YAML

name: 'Util: Determine current versions'
on:
workflow_dispatch:
workflow_call:
outputs:
stable:
description: 'Stable release version'
value: ${{ jobs.get-versions.outputs.stable }}
beta:
description: 'Beta release version'
value: ${{ jobs.get-versions.outputs.beta }}
v1:
description: 'v1 release version'
value: ${{ jobs.get-versions.outputs.v1 }}
jobs:
get-versions:
runs-on: ubuntu-latest
outputs:
stable: ${{ steps.get-tags.outputs.stable }}
beta: ${{ steps.get-tags.outputs.beta }}
v1: ${{ steps.get-tags.outputs.v1 }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Setup Node.js
uses: ./.github/actions/setup-nodejs
with:
build-command: ''
install-command: npm install --prefix=.github/scripts --no-package-lock
- name: Extract release versions
id: get-tags
run: node ./.github/scripts/get-release-versions.mjs
- name: Print detected versions
run: |
echo "Stable: ${{ steps.get-tags.outputs.stable }}"
echo "Beta: ${{ steps.get-tags.outputs.beta }}"
echo "v1: ${{ steps.get-tags.outputs.v1 }}"