From 0b9c5d2ead9f55b27989daadfc85e43b88f1c549 Mon Sep 17 00:00:00 2001 From: Joel Wachsler Date: Sun, 10 Jul 2022 20:35:55 +0000 Subject: [PATCH] Debug --- .github/workflows/tag.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index f0ef77e..a8f70fd 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -7,9 +7,16 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 + + - name: Determine version + id: determine-version + run: cat Cargo.toml | grep version | head -1 | sed 's/version = //' | sed 's/"//g' + + - name: Get previous output + run: echo "${{ steps.determine-version.outputs }}" - uses: Klemensas/action-autotag@stable with: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - version: "$(cat Cargo.toml | grep version | head -1 | sed 's/version = //' | sed 's/\"//g')" + version: "${{ steps.determine-version.outputs.result }}" tag_prefix: "v" \ No newline at end of file