Максим Шеин 1d8d05aff3 Update action.yml
2025-04-18 17:09:14 +05:00
2025-04-18 17:09:14 +05:00
2025-04-18 15:54:36 +05:00

Examples:

on: [push]

jobs:
  hello_world_job:
    runs-on: ubuntu-latest
    name: A job to say hello
    steps:
      - 
        name: Checkout repo
        uses: actions/checkout@v4
      - 
        name: Get current env
        id: foo
        uses: actions/git-tag@main

      - 
        shell: bash
        run: |
          echo Git build type "$BUILD_TYPE"
          echo Git branch name "$BUILD_BRANCH_NAME"
          echo Git tag Description "$BUILD_TAG_DESC"
          echo Git short tag "$BUILD_GIT_SHA_SHORT"
        env:
          BUILD_TYPE: ${{ steps.foo.outputs.git_build_type }}
          BUILD_BRANCH_NAME : ${{ steps.foo.outputs.git_branch_name }}
          BUILD_TAG_DESC: ${{ steps.foo.outputs.git_tag_desc }}
          BUILD_TAG_DESC: ${{ steps.foo.outputs.git_sha_short }}
Description
No description provided
Readme 38 KiB