From 41b2530b3a828a2b665c9ed88f902c96e8c7fc74 Mon Sep 17 00:00:00 2001 From: Christopher Lowenthal Date: Tue, 1 Nov 2022 11:14:04 -0400 Subject: [PATCH] wip: echos output from version job --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e39b97ad..6e3878985 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,13 +9,16 @@ on: jobs: version: runs-on: ubuntu-latest + outputs: + version: ${{ steps.version.outputs.version }} steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - run: echo $(git describe --tags) # - run: .github/workflows/version.sh - - run: echo "version=$(.github/workflows/version.sh)" >> $GITHUB_OUTPUT + - id: version + run: echo "version=$(.github/workflows/version.sh)" >> $GITHUB_OUTPUT build-lattice: runs-on: ubuntu-latest @@ -24,6 +27,7 @@ jobs: CI: false steps: + - run: echo ${{needs.version.outputs.version}} - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: