From 1c8726b157adb56ff0d04b95fbd768e498e415be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20Cvitanovi=C4=87?= Date: Tue, 12 Dec 2023 19:39:22 +0100 Subject: [PATCH] print tag --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d36ac87 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: Cyclops-CI + +on: + push: + tags: + - '*' + +permissions: + contents: write + +jobs: + controller: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Print tag + run: | + TAG=$(git describe --tags --abbrev=0) + echo "The tag is $TAG" + + UI: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Print tag + run: | + TAG=$(git describe --tags --abbrev=0) + echo "The tag is $TAG"