From 9db3877162fb6e32276858a84bcfb0d0493b55c4 Mon Sep 17 00:00:00 2001 From: lanath Date: Wed, 4 Dec 2024 14:26:00 +0100 Subject: [PATCH] ci(github): create tag and release --- .github/workflows/release.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..2a002e3 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,21 @@ +name: Create release and tag + +on: + push: + +jobs: + create-tag: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: get tag version + id: get_tag_version + run: | + cat version.txt + echo "version=$(cat version.txt)" >> $GITHUB_OUTPUT + + - name: test + run: | + echo ${{ steps.get_tag_version.outputs.version }}