diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..a3f3261 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,22 @@ +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)\n" >> $GITHUB_OUTPUT + + - name: test + run: | + echo ${{join(steps.get_tag_version.outputs.*, '\n')}} + echo ${{ steps.get_tag_version.outputs.version }}